Merge branch 'dev' into 'staging'
verification/v1.0.0 See merge request frontend/marketplace!200
This commit is contained in:
commit
380f2b8b6f
@ -10,7 +10,7 @@ import type {
|
|||||||
} from "@root/model/auth"
|
} from "@root/model/auth"
|
||||||
import { AxiosError } from "axios"
|
import { AxiosError } from "axios"
|
||||||
|
|
||||||
const apiUrl = process.env.REACT_APP_DOMAIN + "/verification"
|
const apiUrl = process.env.REACT_APP_DOMAIN + "/verification/v1.0.0"
|
||||||
|
|
||||||
export async function verification(
|
export async function verification(
|
||||||
userId: string
|
userId: string
|
||||||
|
@ -59,7 +59,7 @@ export default function DocumentItem({ text, documentUrl = "", sx, keyName }: Pr
|
|||||||
const readedFile = await readFile(file, "binary")
|
const readedFile = await readFile(file, "binary")
|
||||||
try {
|
try {
|
||||||
await makeRequest<FormData, Verification>({
|
await makeRequest<FormData, Verification>({
|
||||||
url: process.env.REACT_APP_DOMAIN + "/verification" + "/verification",
|
url: `${process.env.REACT_APP_DOMAIN}/verification/v1.0.0/verification`,
|
||||||
method: "PATCH",
|
method: "PATCH",
|
||||||
useToken: true,
|
useToken: true,
|
||||||
withCredentials: true,
|
withCredentials: true,
|
||||||
|
@ -86,7 +86,7 @@ export default function NkoDocumentsDialog() {
|
|||||||
|
|
||||||
const [_, updateDocumentsError] = await updateDocuments(
|
const [_, updateDocumentsError] = await updateDocuments(
|
||||||
deleteEmptyKeys({
|
deleteEmptyKeys({
|
||||||
status: "org",
|
status: "nko",
|
||||||
inn,
|
inn,
|
||||||
rule,
|
rule,
|
||||||
certificate,
|
certificate,
|
||||||
|
Loading…
Reference in New Issue
Block a user