From 5fc17c4808cbb37075b9b4a9fc2591f0cfbdb4e2 Mon Sep 17 00:00:00 2001 From: kittapath Date: Thu, 12 Dec 2024 18:29:04 +0700 Subject: [PATCH] no message --- src/controllers/LoginController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/LoginController.ts b/src/controllers/LoginController.ts index b2040bed..12ae4b5c 100644 --- a/src/controllers/LoginController.ts +++ b/src/controllers/LoginController.ts @@ -42,11 +42,11 @@ export class LoginController extends Controller { _data = x; }) .catch(async (x) => { - throw new HttpError(HttpStatus.UNAUTHORIZED, "ชื่อผู้ใช้งานหรือรหัสผ่านไม่ถูกต้อง"); + throw new HttpError(HttpStatus.UNAUTHORIZED, "ชื่อผู้ใช้งานหรือรหัสผ่านไม่ถูกต้อง4"); }), ]); if (_data == null) { - return new HttpError(HttpStatus.UNAUTHORIZED, "ชื่อผู้ใช้งานหรือรหัสผ่านไม่ถูกต้อง"); + return new HttpError(HttpStatus.UNAUTHORIZED, "ชื่อผู้ใช้งานหรือรหัสผ่านไม่ถูกต้อง5"); } else { return new HttpSuccess(_data); }