From 1cdc12a92fdca9ec9e3ad2dd08f0e32a3e9efdc8 Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 4 Jul 2024 16:56:51 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20PUT=20pour=20demander=20la=20suite=20plu?= =?UTF-8?q?t=C3=B4t=20que=20GET?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/api/order.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api/order.js b/routes/api/order.js index 698e4a5..6461900 100644 --- a/routes/api/order.js +++ b/routes/api/order.js @@ -203,7 +203,7 @@ router.get('/status/pending', async (req, res) => { } }); -router.get('/next/:id', async (req, res) => { +router.put('/next/:id', async (req, res) => { try { await client.connect(); const db = client.db(DB_NAME);