PUT method для обновления файлов верификации

This commit is contained in:
Nastya 2024-07-10 22:56:48 +03:00
parent 19a518d651
commit bf80655118

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