Skip to content

Commit

Permalink
fix: dont return frappe.flags.enqueue_after_commit (#22324)
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarvora committed Sep 6, 2023
1 parent 6e7a6e1 commit ada1127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/utils/background_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def enqueue(
"job_id": job_id,
}
)
return frappe.flags.enqueue_after_commit
return

return q.enqueue_call(
execute_job,
Expand Down

0 comments on commit ada1127

Please sign in to comment.