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