mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-23 05:53:31 +03: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:
parent
caff652df3
commit
bc8c961e30
@ -776,7 +776,7 @@ export class WorkspaceQueryRunnerService {
|
|||||||
|
|
||||||
await this.triggerWebhooks<Record>(
|
await this.triggerWebhooks<Record>(
|
||||||
parsedResults,
|
parsedResults,
|
||||||
CallWebhookJobsJobOperation.delete,
|
CallWebhookJobsJobOperation.create,
|
||||||
options,
|
options,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user