Merge pull request #11711 from Budibase/fix/BUDI-7447

Quick automation CRON test fix
This commit is contained in:
Michael Drury 2023-09-07 16:43:55 +01:00 committed by GitHub
commit 5bff9b9dfc
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ class Orchestrator {
} }
cleanupTriggerOutputs(stepId: string, triggerOutput: TriggerOutput) { cleanupTriggerOutputs(stepId: string, triggerOutput: TriggerOutput) {
if (stepId === CRON_STEP_ID) { if (stepId === CRON_STEP_ID && !triggerOutput.timestamp) {
triggerOutput.timestamp = Date.now() triggerOutput.timestamp = Date.now()
} }
return triggerOutput return triggerOutput