Skip to content

Commit

Permalink
fix: don't return if enqueued
Browse files Browse the repository at this point in the history
(cherry picked from commit 4b4991f)
  • Loading branch information
vorasmit authored and mergify[bot] committed Aug 31, 2023
1 parent 6546892 commit f964371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion india_compliance/gst_india/doctype/gstin/gstin.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_updated_gstin(gstin, transaction_date=None, is_request_from_ui=0):
if is_request_from_ui:
return create_or_update_gstin_status(gstin)

return frappe.enqueue(
frappe.enqueue(
create_or_update_gstin_status,
enqueue_after_commit=True,
queue="short",
Expand Down

0 comments on commit f964371

Please sign in to comment.