Skip to content

Commit

Permalink
add route delete transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
zdni committed Aug 12, 2024
1 parent 33b603e commit 194b75a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ router.get('/transactions', auth(), TransactionController.index);
router.post('/transactions', auth(), TransactionController.store);
router.get('/transactions/:id', auth(), TransactionController.show);
router.put('/transactions/:id', auth(), TransactionController.update);
// router.delete('/transactions/:id', auth(), TransactionController.destroy);
router.delete('/transactions/:id', auth(), TransactionController.destroy);
// transaction lines
router.get('/transaction/lines', auth(), TransactionLineController.index);
router.post('/transaction/lines', auth(), TransactionLineController.store);
Expand Down

0 comments on commit 194b75a

Please sign in to comment.