Gitlab@Informatics

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

Project Round 9

parent 0c9c299f
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ class Booking {
FROM bookings b
JOIN tours t ON b.tour_id = t.id
WHERE b.user_id = ?
ORDER BY b.booking_date DESC
ORDER BY b.id ASC
`;
const [rows] = await pool.query(query, [userId]);
return rows;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment