Quick fix for automation timing.

This commit is contained in:
mike12345567 2023-09-07 15:27:52 +01:00
parent d7db276e47
commit 2f115b5b64
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