Merge branch 'dev' into 'staging'
PUT method для обновления файлов верификации See merge request frontend/marketplace!211
This commit is contained in:
commit
f36d6dbc50
@ -73,8 +73,8 @@ export const updateDocuments = async (
|
||||
): Promise<[Verification | "OK" | null, string?]> => {
|
||||
try {
|
||||
const updateDocumentsResponse = await makeRequest<FormData, Verification>({
|
||||
method: "PATCH",
|
||||
url: `${API_URL}/file`,
|
||||
method: "PUT",
|
||||
url: `${API_URL}`,
|
||||
body: jsonToFormdata(
|
||||
documents.inn ? { ...documents, egrule: documents.inn } : documents
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user