no message
This commit is contained in:
parent
bfe281f3f3
commit
a7a8f47da0
2 changed files with 36 additions and 37 deletions
|
|
@ -2079,9 +2079,9 @@ export class ProfileController extends Controller {
|
|||
// chkDigit = cal % 10;
|
||||
// }
|
||||
|
||||
if (citizenIdDigits[12] !== chkDigit) {
|
||||
throw new HttpError(HttpStatus.NOT_FOUND, "ข้อมูลรหัสบัตรประจำตัวประชาชนไม่ถูกต้อง");
|
||||
}
|
||||
// if (citizenIdDigits[12] !== chkDigit) {
|
||||
// throw new HttpError(HttpStatus.NOT_FOUND, "ข้อมูลรหัสบัตรประจำตัวประชาชนไม่ถูกต้อง");
|
||||
// }
|
||||
}
|
||||
|
||||
const record = await this.profileRepo.findOneBy({ id });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue