mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
Default to empty[] args
This commit is contained in:
parent
7ab61ac641
commit
396e7cc747
1 changed files with 1 additions and 1 deletions
|
@ -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 || [];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue