From 3cfd608a7cf1315a8ef1fc5c1fe770fb05251b7b Mon Sep 17 00:00:00 2001 From: kicap1992 Date: Fri, 5 Apr 2024 05:33:53 +0000 Subject: [PATCH] testing git --- routes/scan_routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/scan_routes.js b/routes/scan_routes.js index bc21488..37de78b 100755 --- a/routes/scan_routes.js +++ b/routes/scan_routes.js @@ -198,7 +198,7 @@ router.post('/penyewa/:nik', async (req, res) => { }) router.put('/penyewa/:nik', async (req, res) => { - const { nik } = req.params; + const { nik } = req.params; //trying const { nik_baru, nama } = req.body; try { const query_select = 'SELECT * FROM tb_penyewa where nik = ?';