From 2dbfe232f1c1d444492aa2812b69808bc899e0fc Mon Sep 17 00:00:00 2001 From: Oreo Oreoniv <28255085+zKoz210@users.noreply.github.com> Date: Sun, 3 May 2020 00:38:26 +0300 Subject: [PATCH] fixed typo, close #1986 --- .../Requests/Api/Client/Servers/Schedules/StoreTaskRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/Api/Client/Servers/Schedules/StoreTaskRequest.php b/app/Http/Requests/Api/Client/Servers/Schedules/StoreTaskRequest.php index 839fe2eac..50fc9a2cb 100644 --- a/app/Http/Requests/Api/Client/Servers/Schedules/StoreTaskRequest.php +++ b/app/Http/Requests/Api/Client/Servers/Schedules/StoreTaskRequest.php @@ -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', ]; }