Implement creating of meta data and tests

This commit is contained in:
James Brooks
2017-06-13 19:34:50 +01:00
parent 63e38a4b2c
commit f11c1edeee
5 changed files with 49 additions and 3 deletions

View File

@@ -78,7 +78,8 @@ class IncidentController extends AbstractApiController
Binput::get('stickied', false),
Binput::get('occurred_at'),
Binput::get('template'),
Binput::get('vars', [])
Binput::get('vars', []),
Binput::get('meta', [])
));
} catch (QueryException $e) {
throw new BadRequestHttpException();