Skip to content

Commit

Permalink
Update paymentRouter.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AVtheking authored Nov 26, 2023
1 parent ddaf9aa commit 7318e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/paymentRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 7318e9f

Please sign in to comment.