Use actual instance
This commit is contained in:
parent
451522e6cf
commit
29c3d80e5b
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class ScheduleTaskController extends ClientApiController
|
|||
throw new HttpForbiddenException("A backup task cannot be created when the server's backup limit is set to 0.");
|
||||
}
|
||||
|
||||
Task::query()->update([
|
||||
$task->update([
|
||||
'action' => $request->input('action'),
|
||||
'payload' => $request->input('payload') ?? '',
|
||||
'time_offset' => $request->input('time_offset'),
|
||||
|
|
Loading…
Reference in a new issue