feat(webhook): register in mutation calls

This commit is contained in:
Ali BARIN
2022-11-30 19:33:57 +01:00
parent 77a7df1cff
commit 687c6a09bc
2 changed files with 28 additions and 28 deletions

View File

@@ -25,8 +25,6 @@ export const processFlow = async (options: ProcessFlowOptions) => {
try {
if (triggerCommand.type === 'webhook' && !flow.active) {
await triggerCommand.testRun($);
} else if (triggerCommand.type === 'webhook' && flow.active) {
await triggerCommand.registerHook($);
} else {
await triggerCommand.run($);
}