diff --git a/routes/transaction.js b/routes/transaction.js index f54fcf8..97fbc9d 100644 --- a/routes/transaction.js +++ b/routes/transaction.js @@ -43,7 +43,7 @@ router.put("/status/:orderId", authentication, updateTransaction); router.post("/cancel/:orderId", authentication, cancelTransaction); // dashboard action -router.get("/admin", authentication, checkRole(["ADMIN"]), getAllTransaction); +router.get("/admin/admin/admin", authentication, checkRole(["ADMIN"]), getAllTransaction); router.get( "/admin/:id", authentication, @@ -59,4 +59,4 @@ router.delete( deleteTransactionDetail ); -module.exports = router; +module.exports = router; \ No newline at end of file