Fix restore event sent to webhooks (#6905)

We were sending the wrong event when restoring a record (delete instead
of create)
This commit is contained in:
Félix Malfait
2024-09-05 14:21:14 +02:00
committed by GitHub
parent caff652df3
commit bc8c961e30

View File

@@ -776,7 +776,7 @@ export class WorkspaceQueryRunnerService {
await this.triggerWebhooks<Record>(
parsedResults,
CallWebhookJobsJobOperation.delete,
CallWebhookJobsJobOperation.create,
options,
);