Forgot to add notify to CreatScheduleCommand in API
This commit is contained in:
@@ -73,7 +73,8 @@ class ScheduleController extends AbstractApiController
|
||||
Binput::get('status'),
|
||||
Binput::get('scheduled_at'),
|
||||
Binput::get('completed_at'),
|
||||
Binput::get('components', [])
|
||||
Binput::get('components', []),
|
||||
Binput::get('notify', false)
|
||||
));
|
||||
} catch (QueryException $e) {
|
||||
throw new BadRequestHttpException();
|
||||
|
||||
@@ -52,7 +52,6 @@ class ScheduleTest extends AbstractApiTestCase
|
||||
'message' => 'Foo bar, baz.',
|
||||
'status' => 1,
|
||||
'scheduled_at' => date('Y-m-d H:i'),
|
||||
'notify' => 1,
|
||||
];
|
||||
|
||||
$response = $this->json('POST', '/api/v1/schedules/', $schedule);
|
||||
|
||||
Reference in New Issue
Block a user