From 68e5c47b83d5531a568958b6c9261867569cc001 Mon Sep 17 00:00:00 2001 From: 65160111 <65160111@go.buu.ac.th> Date: Sat, 29 Mar 2025 03:38:06 +0000 Subject: [PATCH] Edit reports.js --- routes/reports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/reports.js b/routes/reports.js index 3c483ee..70390c5 100644 --- a/routes/reports.js +++ b/routes/reports.js @@ -50,7 +50,7 @@ router.get("/", authMiddleware, (req, res) => { const floor = req.query.floor; // optional: เธเธฑเนเธเธ—เธตเนเน€เธฅเธทเธญเธ const room = req.query.room; // optional: เธซเนเธญเธเธ—เธตเนเน€เธฅเธทเธญเธ - const BASE_URL = "https://repairsys.th2.melon.cloud"; // โ… เนเธเน URL เธเธฃเธดเธเธเธญเธ Melon Cloud + const BASE_URL = "https://repairsys.th2.melon.cloud"; let conditions = ["(reports.title LIKE ? OR reports.description LIKE ?)"]; let params = [`%${search}%`, `%${search}%`]; -- GitLab