Gitlab@Informatics

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

Project Round 9

parent 1c452475
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]);
// ส่งข้อมูลการจองไปยังหน้า EJS
res.render('myBookings', { bookings: bookings });
res.render('bookinglist', { bookings: bookings });
} catch (error) {
console.error('Error fetching bookings:', error.message);
res.status(500).send('เกิดข้อผิดพลาดในการดึงข้อมูลการจอง');
......
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