commit
3e04540c38
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class StoreTaskRequest extends ViewScheduleRequest
|
|||
return [
|
||||
'action' => 'required|in:command,power,backup',
|
||||
'payload' => 'required_unless:action,backup|string',
|
||||
'time_offset' => 'r=equired|numeric|min:0|max:900',
|
||||
'time_offset' => 'required|numeric|min:0|max:900',
|
||||
'sequence_id' => 'sometimes|required|numeric|min:1',
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue