diff --git a/index.js b/index.js
index 59f44a66e40bdd0a347b676a922a925422c7a75b..4179def26d4cc75f22bbef744e42d5f81707d966 100644
--- a/index.js
+++ b/index.js
@@ -377,7 +377,7 @@ app.post("/confirm-loan", (req, res) => {
 
 
 // Route สำหรับยืนยันการยืม
-app.post('/submit-loan', (req, res) => {
+app.post('/confirm-loan', (req, res) => {
     const user_id = req.user.id; // สมมติว่าผู้ใช้ล็อกอินแล้ว
     const equipment_id = req.body.equipment_id;
     const quantity = req.body.quantity;