diff --git a/routes/paymentRouter.js b/routes/paymentRouter.js index 8ac32af..57684ef 100644 --- a/routes/paymentRouter.js +++ b/routes/paymentRouter.js @@ -10,6 +10,6 @@ paymentRouter.post("/createOrder/:amount", auth, paymentCtrl.createOrder); // paymentRouter.post("/createOrderCart/:amount", auth, paymentCtrl.createOrderCart); // paymentRouter.post("/checkPaymentCart", auth, paymentCtrl.checkPaymentCart); -paymentRouter.post("/checkPayment/:courseId",auth, paymentCtrl.checkPayment); +paymentRouter.post("/checkPayment/:amount",auth, paymentCtrl.checkPayment); module.exports = paymentRouter;