From 46fd46aaa0aee22d22b530d0eae6a3bff3e8694b Mon Sep 17 00:00:00 2001 From: Nick Skriabin Date: Tue, 8 Aug 2023 16:42:12 +0100 Subject: [PATCH] Fix typo --- label_studio/webhooks/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/label_studio/webhooks/utils.py b/label_studio/webhooks/utils.py index 0067a2733acb..5920b0160c5c 100644 --- a/label_studio/webhooks/utils.py +++ b/label_studio/webhooks/utils.py @@ -117,7 +117,7 @@ def run_webhook(webhook, action, payload=None): payload, ) else: - run_webhook(webhook, action, payload) + run_webhook_sync(webhook, action, payload) def emit_webhooks_for_instance( @@ -148,6 +148,7 @@ def emit_webhooks_for_instance( def emit_webhooks(organization, project, action, payload): """ Run all active webhooks for the action. + Will run all selected webhooks in an RQ worker. """ if flag_set("fflag_fix_back_lsdv_4604_excess_sql_queries_in_api_short"):