mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 07:05:36 +01:00
Fix
This commit is contained in:
@@ -33,7 +33,7 @@ class ScheduleSyncWorkflow:
|
||||
if streamer.integrations.discord is None:
|
||||
continue
|
||||
|
||||
await workflow.execute_activity(
|
||||
await workflow.start_activity(
|
||||
syncronize,
|
||||
streamer.twitch.id
|
||||
)
|
||||
|
||||
@@ -9,7 +9,7 @@ from applications.temporal_worker.queues import MAIN_QUEUE
|
||||
class OnRewardRedemptionWorkflow:
|
||||
@workflow.run
|
||||
async def run(self, reward: RewardRedemption):
|
||||
await workflow.execute_activity(
|
||||
await workflow.start_activity(
|
||||
on_redemption_reward_add_activity,
|
||||
reward,
|
||||
task_queue=MAIN_QUEUE
|
||||
|
||||
Reference in New Issue
Block a user