$incident_date is now handled by the command handler

This commit is contained in:
James Brooks
2015-09-26 14:42:42 +01:00
parent 3ca1ae5d70
commit 08e9705088
6 changed files with 53 additions and 34 deletions

View File

@@ -72,7 +72,8 @@ class IncidentController extends AbstractApiController
Binput::get('visible', true),
Binput::get('component_id'),
Binput::get('component_status'),
Binput::get('notify', true)
Binput::get('notify', true),
Binput::get('created_at')
));
} catch (Exception $e) {
throw new BadRequestHttpException();
@@ -99,7 +100,8 @@ class IncidentController extends AbstractApiController
Binput::get('visible', true),
Binput::get('component_id'),
Binput::get('component_status'),
Binput::get('notify', true)
Binput::get('notify', true),
Binput::get('created_at')
));
} catch (Exception $e) {
throw new BadRequestHttpException();