Skip to content

Commit 362f2cd

Browse files
Merge pull request #463 from TogetherCrew/handle-website-workflows
fix: fix workflow id
2 parents e0196ba + 39dd122 commit 362f2cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/website/core.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ async function deleteWebsiteSchedule(scheduleId: string): Promise<void> {
2727
}
2828
}
2929

30-
async function terminateWebsiteWorkflow(workflowId: string): Promise<void> {
30+
async function terminateWebsiteWorkflow(communityId: string): Promise<void> {
3131
try {
32-
await temporalWebsite.terminateWorkflow(workflowId);
32+
await temporalWebsite.terminateWorkflow(`website:ingestor:${communityId}`);
3333
} catch (error) {
3434
logger.error(error, 'Failed to terminate website workflow.');
3535
throw new ApiError(590, 'Failed to terminate website workflow.');

0 commit comments

Comments
 (0)