ADD: update endpoint for updateTransaction
This commit is contained in:
@@ -25,4 +25,10 @@ router.get(
|
||||
transactionController.getBelongingInventory
|
||||
)
|
||||
|
||||
router.patch(
|
||||
'/admin/update/:transactionId',
|
||||
// perm.requires('getallbelongings'),
|
||||
transactionController.updateTransaction
|
||||
)
|
||||
|
||||
module.exports = router
|
||||
|
||||
Reference in New Issue
Block a user