diff --git a/controllers/bookingController.js b/controllers/bookingController.js index bdc1cae05609b6bb79e29dac470ff96aa2d149b3..2b2c82a38e43a2d4b028320b1479c959f48778cd 100644 --- a/controllers/bookingController.js +++ b/controllers/bookingController.js @@ -211,7 +211,8 @@ exports.updateNote = async (req, res) => { return res.status(400).send("ไม่พบรหัสการจอง"); } await bookingModel.updateAppointmentNote(appointmentId, note); - res.redirect('/customer/bookingSummary?id=' + appointmentId); + res.redirect('/customer/allAppointments'); +// res.redirect('/customer/bookingSummary?id=' + appointmentId); } catch (error) { console.error(error); res.status(500).send('เกิดข้อผิดพลาดในการอัพเดทหมายเหตุ');