From 4070eb24dd49ca3e25c736d27a3048867a055e98 Mon Sep 17 00:00:00 2001 From: Cyrille Derche Date: Tue, 19 Nov 2024 12:07:43 +0100 Subject: [PATCH] fix input for workflow --- src/services/temporal/discourse.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/temporal/discourse.service.ts b/src/services/temporal/discourse.service.ts index 5956a4e..6d63136 100644 --- a/src/services/temporal/discourse.service.ts +++ b/src/services/temporal/discourse.service.ts @@ -10,7 +10,7 @@ class TemporalDiscourseService extends TemporalCoreService { action: { type: 'startWorkflow', workflowType: 'DiscourseExtractWorkflow', - args: [endpoint, platformId], + args: [{ endpoint, platformId }], taskQueue: config.temporal.heavyQueue, }, scheduleId: `discourse/${encodeURIComponent(endpoint)}`,