diff --git a/core/event_scheduler.js b/core/event_scheduler.js index b4243a7a..e6f94bd1 100644 --- a/core/event_scheduler.js +++ b/core/event_scheduler.js @@ -30,7 +30,7 @@ class ScheduledEvent { this.schedule = this.parseScheduleString(events[name].schedule); this.action = this.parseActionSpec(events[name].action); if(this.action) { - this.action.args = events[name].args; + this.action.args = events[name].args || []; } }