mirror of
https://github.com/lingble/twenty.git
synced 2025-10-30 12:22:29 +00:00
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:
@@ -776,7 +776,7 @@ export class WorkspaceQueryRunnerService {
|
||||
|
||||
await this.triggerWebhooks<Record>(
|
||||
parsedResults,
|
||||
CallWebhookJobsJobOperation.delete,
|
||||
CallWebhookJobsJobOperation.create,
|
||||
options,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user