|
@@ -157,10 +157,10 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
//console.log('[register] status KYC retornado pelo backend', {
|
|
//console.log('[register] status KYC retornado pelo backend', {
|
|
|
- status: res.status,
|
|
|
|
|
- body,
|
|
|
|
|
- raw
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ // status: res.status,
|
|
|
|
|
+ // body,
|
|
|
|
|
+ // raw
|
|
|
|
|
+ //});
|
|
|
if (!res.ok) {
|
|
if (!res.ok) {
|
|
|
const message = body?.message ?? body?.msg ?? 'Falha ao consultar status do KYC.';
|
|
const message = body?.message ?? body?.msg ?? 'Falha ao consultar status do KYC.';
|
|
|
throw new Error(message);
|
|
throw new Error(message);
|
|
@@ -267,10 +267,10 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
//console.log('[register] resposta do backend /company/user/create', {
|
|
//console.log('[register] resposta do backend /company/user/create', {
|
|
|
- status: res.status,
|
|
|
|
|
- body,
|
|
|
|
|
- raw
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ // status: res.status,
|
|
|
|
|
+ // body,
|
|
|
|
|
+ // raw
|
|
|
|
|
+ //});
|
|
|
|
|
|
|
|
if (!res.ok) {
|
|
if (!res.ok) {
|
|
|
const msg =
|
|
const msg =
|