fix: only queue state

This commit is contained in:
Nevo David 2026-01-05 17:58:21 +07:00
parent b5979b290d
commit 1291937cb2
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ export async function postWorkflow({
const [post] = postsList;
// in case doesn't exists for some reason, fail it
if (!post) {
if (!post || (!postNow && post.state !== 'QUEUE')) {
return;
}