This commit is contained in:
AdisakKanthawilang 2024-03-04 14:54:15 +07:00
parent 2bb68463be
commit 5e2e13d8e8
9 changed files with 12 additions and 13 deletions

View file

@ -127,7 +127,7 @@ export class BloodGroupController extends Controller {
select: ["id", "name"],
});
if (!bloodGroup) {
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล");
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลกรุ๊ปเลือดนี้");
}
return new HttpSuccess(bloodGroup);
}