Skip to content

Commit

Permalink
fix: PUT pour demander la suite plutôt que GET
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesGresset committed Jul 4, 2024
1 parent beb8b41 commit 1cdc12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api/order.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1cdc12a

Please sign in to comment.