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

This commit is contained in:
Ильназ 2025-01-26 12:36:42 +03:00
parent 9a2ef18925
commit 5e0ac9f7a5

View File

@ -85,7 +85,7 @@ const armService = () => {
}) => { }) => {
const body = JSON.stringify({ status, notes, masterId }); const body = JSON.stringify({ status, notes, masterId });
const response = await fetch(`${endpoint}${ArmEndpoints.MASTERS}/${id}`, { const response = await fetch(`${endpoint}${ArmEndpoints.ORDERS}/${id}`, {
method: 'PATCH', method: 'PATCH',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',