diff --git a/controllers/tourController.js b/controllers/tourController.js
index 736e02686d24b771bd07af68cc4c2d63990d5f2a..7f8a9f1c2de8971ca8b022fdc1292242c7e90e5c 100644
--- a/controllers/tourController.js
+++ b/controllers/tourController.js
@@ -211,11 +211,11 @@ exports.getEditTour = async (req, res) => {
     }
 
     // ตรวจสอบว่ามี userId ใน tour หรือไม่
-    if (!tour.user_id) {
+    if (!tour.user_Id) {
       return res.status(500).send('ข้อมูลทัวร์ไม่สมบูรณ์');
     }
 
-    if (tour.user_id !== req.session.userId) {
+    if (tour.user_Id !== req.session.userId) {
       return res.status(403).send('คุณไม่มีสิทธิ์แก้ไขทัวร์นี้');
     }