feat(trigger): add workSynchronously flag

This commit is contained in:
Ali BARIN
2024-12-13 15:28:42 +00:00
parent bfcf54a26f
commit 0056940fa2
2 changed files with 5 additions and 0 deletions

View File

@@ -116,6 +116,10 @@ class Step extends Base {
return `/webhooks/flows/${this.flowId}/sync`;
}
if (triggerCommand.workSynchronously) {
return `/webhooks/flows/${this.flowId}/sync`;
}
return `/webhooks/flows/${this.flowId}`;
}