From f0334fabfb930c49ce85c1ff881e34ac78a94114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Malfait?= Date: Thu, 5 Sep 2024 14:20:31 +0200 Subject: [PATCH] Fix restore event sent to webhooks --- .../workspace-query-runner/workspace-query-runner.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-server/src/engine/api/graphql/workspace-query-runner/workspace-query-runner.service.ts b/packages/twenty-server/src/engine/api/graphql/workspace-query-runner/workspace-query-runner.service.ts index 6e9a744757d2..827dd2893941 100644 --- a/packages/twenty-server/src/engine/api/graphql/workspace-query-runner/workspace-query-runner.service.ts +++ b/packages/twenty-server/src/engine/api/graphql/workspace-query-runner/workspace-query-runner.service.ts @@ -776,7 +776,7 @@ export class WorkspaceQueryRunnerService { await this.triggerWebhooks( parsedResults, - CallWebhookJobsJobOperation.delete, + CallWebhookJobsJobOperation.create, options, );