testing git
This commit is contained in:
@ -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 = ?';
|
||||
|
Reference in New Issue
Block a user