From 34bf557a6f6f8a2b03237ded1b927caff542ab01 Mon Sep 17 00:00:00 2001 From: ilnaz <237x237@gmail.com> Date: Sun, 26 Jan 2025 12:43:40 +0300 Subject: [PATCH] fix: change endpoint orders --- src/api/arm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/arm.ts b/src/api/arm.ts index d4188db..f88c54d 100644 --- a/src/api/arm.ts +++ b/src/api/arm.ts @@ -85,7 +85,7 @@ const armService = () => { }) => { const body = JSON.stringify({ status, notes, masterId }); - const response = await fetch(`${endpoint}${ArmEndpoints.ORDERS}/${id}`, { + const response = await fetch(`${endpoint}/orders/${id}`, { method: 'PATCH', headers: { 'Content-Type': 'application/json',