Skip to content

Commit

Permalink
feat: 订阅下发支持动态分组 (closed #2507)
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 27909
  • Loading branch information
ping15 committed Dec 26, 2024
1 parent 0c8f211 commit e0c36a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/subscription/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def create_subscription(self, request):
subscription_task = models.SubscriptionTask.objects.create(
subscription_id=subscription.id, scope=subscription.scope, actions={}
)
tasks.run_subscription_task_and_create_instance(subscription, subscription_task, language=get_language())
tasks.run_subscription_task_and_create_instance.delay(subscription, subscription_task, language=get_language())
result["task_id"] = subscription_task.id

return Response(result)
Expand Down

0 comments on commit e0c36a7

Please sign in to comment.