fix the routers and UI

This commit is contained in:
noahnghg
2025-04-20 23:36:58 -06:00
parent eff9d9d91b
commit 46bd77025f
3 changed files with 13 additions and 8 deletions

View File

@@ -19,7 +19,7 @@ router.get("/getTransactionsByProduct/:productID", txCtrl.getTransactionsByProdu
router.post("/getTransactionsByUser", txCtrl.getTransactionsByUser);
// Get all transactions in the system
router.get("/getAllTransactions", txCtrl.getAllTransactions);
router.post("/getAllTransactions", txCtrl.getAllTransactions);
// Update payment status on a transaction
router.patch("/updatePaymentStatus", txCtrl.updatePaymentStatus);