ADD: get transactions by Belonging Id GET endpoint
This commit is contained in:
@@ -25,6 +25,12 @@ router.get(
|
||||
transactionController.getBelongingInventory
|
||||
)
|
||||
|
||||
router.get(
|
||||
'/admin/belonging/:belongingId',
|
||||
// perm.requires('getallbelongings'),
|
||||
transactionController.getTransactionByBelongingId
|
||||
)
|
||||
|
||||
router.patch(
|
||||
'/admin/update/:transactionId',
|
||||
// perm.requires('getallbelongings'),
|
||||
|
||||
Reference in New Issue
Block a user