wip
This commit is contained in:
1 parent
6ca09fa0c5
commit
2dbf58830c
1 file changed
+6
-2
+6
-2
@@ -120,9 +120,13 @@ async function fetchCardHistory(passport_serie, passport_id, card_number, card_e
|
||||
|
||||
Nova.request().post('/api/fetch-card-history', formData).then(response => {
|
||||
let result = response.data;
|
||||
|
||||
const parsed = JSON.parse(result);
|
||||
|
||||
console.log({
|
||||
result: result,
|
||||
type: typeof result
|
||||
parsed,
|
||||
type: typeof parsed,
|
||||
errCode: parsed.errCode
|
||||
});
|
||||
|
||||
if (result.errCode != 0) {
|
||||
|
||||
Reference in new issue
Block a user