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