feat: add enterprise identity and channel integrations
This commit is contained in:
8
backend/apps/channels/tasks.py
Normal file
8
backend/apps/channels/tasks.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from celery import shared_task
|
||||
|
||||
from apps.channels.services import deliver_outbound_message
|
||||
|
||||
|
||||
@shared_task(name="apps.channels.tasks.deliver_channel_message")
|
||||
def deliver_channel_message_task(message_id: int):
|
||||
return deliver_outbound_message(message_id).status
|
||||
Reference in New Issue
Block a user