Gitlab@Informatics

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

Project Round 9

parent 930ff118
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,7 @@ exports.getUserBookings = async (req, res) => {
const [bookings] = await pool.query(query, [userId]);
// ส่งข้อมูลการจองกลับไปยังผู้ใช้
res.render('myBookings', { bookings });
res.render('my-bookings', { bookings });
} catch (error) {
console.error('Error fetching user bookings:', error.message);
res.status(500).send('เกิดข้อผิดพลาดในการดึงข้อมูลการจอง');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment