testing git

This commit is contained in:
kicap1992
2024-04-05 05:33:53 +00:00
parent 3a0493ab1c
commit 3cfd608a7c

View File

@ -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 = ?';