ADD: indexAllTransactions and searchTransactions POST and GET endpoints
This commit is contained in:
@@ -19,6 +19,18 @@ router.post(
|
||||
transactionController.createTransaction
|
||||
)
|
||||
|
||||
router.post(
|
||||
'/admin/index-all',
|
||||
// perm.requires('getallbelongings'),
|
||||
transactionController.indexAllTransactions
|
||||
)
|
||||
|
||||
router.get(
|
||||
'/admin/search',
|
||||
// perm.requires('getallbelongings'),
|
||||
transactionController.searchTransactions
|
||||
)
|
||||
|
||||
router.get(
|
||||
'/admin/belonging/:belongingId/inventory',
|
||||
// perm.requires('getallbelongings'),
|
||||
|
||||
Reference in New Issue
Block a user