Add validation for search view
This commit is contained in:
parent
56fa2444da
commit
a2f1977376
|
@ -90,6 +90,7 @@ router
|
||||||
router.post(
|
router.post(
|
||||||
"/api/v2/views/:viewId/search",
|
"/api/v2/views/:viewId/search",
|
||||||
internalSearchValidator(),
|
internalSearchValidator(),
|
||||||
|
validateBody(searchRowRequestValidator),
|
||||||
authorizedResource(PermissionType.VIEW, PermissionLevel.READ, "viewId"),
|
authorizedResource(PermissionType.VIEW, PermissionLevel.READ, "viewId"),
|
||||||
rowController.views.searchView
|
rowController.views.searchView
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue