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"
|
||||
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(
|
||||
userId: string
|
||||
|
@ -59,7 +59,7 @@ export default function DocumentItem({ text, documentUrl = "", sx, keyName }: Pr
|
||||
const readedFile = await readFile(file, "binary")
|
||||
try {
|
||||
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",
|
||||
useToken: true,
|
||||
withCredentials: true,
|
||||
|
@ -86,7 +86,7 @@ export default function NkoDocumentsDialog() {
|
||||
|
||||
const [_, updateDocumentsError] = await updateDocuments(
|
||||
deleteEmptyKeys({
|
||||
status: "org",
|
||||
status: "nko",
|
||||
inn,
|
||||
rule,
|
||||
certificate,
|
||||
|
Loading…
Reference in New Issue
Block a user