Skip to content

Commit

Permalink
fix(proc): fix the bug that is not using the default cron expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Water-Melon committed Nov 13, 2023
1 parent 024136f commit e1272ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proc.m
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
body['interval'];
body['replica'];
body['last_time'] = 0;
body['type'] == 'cron' && body['cron'];
body['run_flag'] = false;
if (!Validate(this.rules()['body'], body)) {
R['code'] = 400;
Expand Down

0 comments on commit e1272ce

Please sign in to comment.