Skip to content

Commit

Permalink
Fix restore event sent to webhooks (#6905)
Browse files Browse the repository at this point in the history
We were sending the wrong event when restoring a record (delete instead
of create)
  • Loading branch information
FelixMalfait authored Sep 5, 2024
1 parent caff652 commit bc8c961
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ export class WorkspaceQueryRunnerService {

await this.triggerWebhooks<Record>(
parsedResults,
CallWebhookJobsJobOperation.delete,
CallWebhookJobsJobOperation.create,
options,
);

Expand Down

0 comments on commit bc8c961

Please sign in to comment.