fix(api): update ASSIGN_COMPANY_TO_CUSTOMER endpoint to remove redundant 'assign' path segment

This commit is contained in:
AmirReza Jamali
2025-12-14 10:19:00 +03:30
parent 4cc7684b1f
commit 3080a5fe6d
+1 -2
View File
@@ -46,8 +46,7 @@ export const API_ENDPOINTS = {
UPDATE: (id: string) => `customers/${id}`,
DELETE: (id: string) => `customers/${id}`,
DETAILS: (id: string) => `customers/${id}`,
ASSIGN_COMPANY_TO_CUSTOMER: (id: string) =>
`customers/${id}/companies/assign`,
ASSIGN_COMPANY_TO_CUSTOMER: (id: string) => `customers/${id}/companies`,
},
FEEDBACK: {
READ_ALL: "feedback",