Add validation for search view

This commit is contained in:
Adria Navarro 2024-11-29 13:12:30 +01:00
parent 56fa2444da
commit a2f1977376
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ router
router.post(
"/api/v2/views/:viewId/search",
internalSearchValidator(),
validateBody(searchRowRequestValidator),
authorizedResource(PermissionType.VIEW, PermissionLevel.READ, "viewId"),
rowController.views.searchView
)