mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
fix #2936
This commit is contained in:
parent
ed591ffd3f
commit
00f46fbbde
@ -41,6 +41,7 @@ class AwsCompileScheduledEvents {
|
||||
.Error(errorMessage);
|
||||
}
|
||||
ScheduleExpression = event.schedule.rate;
|
||||
event.schedule.enabled = typeof(event.schedule.enabled) === 'boolean') ? event.schedule.enabled : true;
|
||||
State = event.schedule.enabled ? 'ENABLED' : 'DISABLED';
|
||||
Input = event.schedule.input;
|
||||
InputPath = event.schedule.inputPath;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user