Fixing issue with app import, supporting old search API.
This commit is contained in:
parent
16df6d7065
commit
951ff78775
|
@ -38,6 +38,12 @@ router
|
||||||
authorized(PermissionTypes.TABLE, PermissionLevels.READ),
|
authorized(PermissionTypes.TABLE, PermissionLevels.READ),
|
||||||
rowController.search
|
rowController.search
|
||||||
)
|
)
|
||||||
|
// DEPRECATED - this is an old API, but for backwards compat it needs to be
|
||||||
|
// supported still
|
||||||
|
.post("/api/search/:tableId/rows",
|
||||||
|
paramResource("tableId"),
|
||||||
|
authorized(PermissionTypes.TABLE, PermissionLevels.READ),
|
||||||
|
rowController.search)
|
||||||
.post(
|
.post(
|
||||||
"/api/:tableId/rows",
|
"/api/:tableId/rows",
|
||||||
paramResource("tableId"),
|
paramResource("tableId"),
|
||||||
|
|
Loading…
Reference in New Issue