mirror of
https://github.com/lingble/twenty.git
synced 2025-10-30 20:27:55 +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>(
|
await this.triggerWebhooks<Record>(
|
||||||
parsedResults,
|
parsedResults,
|
||||||
CallWebhookJobsJobOperation.delete,
|
CallWebhookJobsJobOperation.create,
|
||||||
options,
|
options,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user