fixed typo, close #1986

This commit is contained in:
Oreo Oreoniv 2020-05-03 00:38:26 +03:00 committed by GitHub
parent ff1a1cd5fc
commit 2dbfe232f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ class StoreTaskRequest extends ViewScheduleRequest
return [ return [
'action' => 'required|in:command,power,backup', 'action' => 'required|in:command,power,backup',
'payload' => 'required_unless:action,backup|string', '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', 'sequence_id' => 'sometimes|required|numeric|min:1',
]; ];
} }