diff --git a/components/transaction/transactionRoutes.js b/components/transaction/transactionRoutes.js index fa3d717..7c13552 100644 --- a/components/transaction/transactionRoutes.js +++ b/components/transaction/transactionRoutes.js @@ -31,4 +31,10 @@ router.patch( transactionController.updateTransaction ) +router.delete( + '/admin/delete/:transactionId', + // perm.requires('getallbelongings'), + transactionController.deleteTransaction +) + module.exports = router