mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-22 21:50:43 +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>(
|
||||
parsedResults,
|
||||
CallWebhookJobsJobOperation.delete,
|
||||
CallWebhookJobsJobOperation.create,
|
||||
options,
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user