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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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