mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 07:05:36 +01:00
Fix
This commit is contained in:
@@ -10,7 +10,7 @@ from applications.temporal_worker.queues import MAIN_QUEUE
|
||||
@workflow.defn
|
||||
class OnStreamOnlineWorkflow:
|
||||
@workflow.run
|
||||
async def run(self, broadcaster_user_id: str, event_type: EventType):
|
||||
async def run(self, broadcaster_user_id: str | int, event_type: EventType):
|
||||
await workflow.start_activity(
|
||||
on_stream_state_change_activity,
|
||||
OnStreamStateChangeActivity(
|
||||
|
||||
Reference in New Issue
Block a user