diff --git a/models/tourModel.js b/models/tourModel.js
index bce5e6bf58018e743b92a519f4eb5f69a6f992ef..1774d0505fdafc54f270a26e9b7f86d511d81301 100644
--- a/models/tourModel.js
+++ b/models/tourModel.js
@@ -81,7 +81,7 @@ class Tour {
       const query = `
       SELECT t.id, t.name, t.description, t.price, t.duration, t.userId, c.name AS cname
       FROM tours t
-      JOIN company c ON t.company_id = c.id
+      JOIN company c ON t.companyid = c.id
       WHERE t.id = ?`;
       
       try {