fix: change endpoint orders
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good

This commit is contained in:
Ильназ 2025-01-26 12:43:40 +03:00
parent 5e0ac9f7a5
commit 34bf557a6f

View File

@ -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',