Browse Source

update check ID

CR003
Anna Ho 1 year ago
parent
commit
6c3aca90bf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/pages/authentication/IAmSmartRegister.js

+ 1
- 1
src/pages/authentication/IAmSmartRegister.js View File

@@ -87,7 +87,7 @@ const Register = () => {
idNo: idNo,
}
})
return Number(response.data[0]) === 1
return Number(response?.data?.idVaild) === true
}

const handleCaptcha = async () => {


Loading…
Cancel
Save