diff --git a/components/transaction/transactionRoutes.js b/components/transaction/transactionRoutes.js index d8178a9..fa3d717 100644 --- a/components/transaction/transactionRoutes.js +++ b/components/transaction/transactionRoutes.js @@ -25,4 +25,10 @@ router.get( transactionController.getBelongingInventory ) +router.patch( + '/admin/update/:transactionId', + // perm.requires('getallbelongings'), + transactionController.updateTransaction +) + module.exports = router