fix: only queue state
This commit is contained in:
parent
b5979b290d
commit
1291937cb2
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue