From 1b01c0ba4f4f2c52332a7bd3e068431934d41300 Mon Sep 17 00:00:00 2001 From: ilnaz <237x237@gmail.com> Date: Sun, 26 Jan 2025 11:08:43 +0300 Subject: [PATCH] fix: add :id --- stubs/api/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/api/index.js b/stubs/api/index.js index edae4e5..f21ace4 100644 --- a/stubs/api/index.js +++ b/stubs/api/index.js @@ -53,7 +53,7 @@ router.delete('/arm/masters/:id', (req, res) => { ); }); -router.patch('/orders/id', (req, res) => { +router.patch('/orders/:id', (req, res) => { res .status(/error/.test(STUBS.orders) ? 500 : 200) .send(