Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit ac2bd08f authored by 65160394's avatar 65160394
Browse files

Project Round 11

parent 37067016
Branches
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ class Tour { ...@@ -81,7 +81,7 @@ class Tour {
const query = ` const query = `
SELECT t.id, t.name, t.description, t.price, t.duration, t.userId, c.name AS cname SELECT t.id, t.name, t.description, t.price, t.duration, t.userId, c.name AS cname
FROM tours t FROM tours t
JOIN company c ON t.company_id = c.id JOIN company c ON t.companyid = c.id
WHERE t.id = ?`; WHERE t.id = ?`;
try { try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment