Incident templates cleanup (#2182)
Clean up Incident Templates, supply incident array to them by default
This commit is contained in:
@@ -78,7 +78,7 @@ class IncidentController extends AbstractApiController
|
||||
Binput::get('stickied', false),
|
||||
Binput::get('created_at'),
|
||||
Binput::get('template'),
|
||||
Binput::get('vars')
|
||||
Binput::get('vars', [])
|
||||
));
|
||||
} catch (QueryException $e) {
|
||||
throw new BadRequestHttpException();
|
||||
@@ -109,7 +109,7 @@ class IncidentController extends AbstractApiController
|
||||
Binput::get('stickied', false),
|
||||
Binput::get('created_at'),
|
||||
Binput::get('template'),
|
||||
Binput::get('vars')
|
||||
Binput::get('vars', [])
|
||||
));
|
||||
} catch (QueryException $e) {
|
||||
throw new BadRequestHttpException();
|
||||
|
||||
Reference in New Issue
Block a user