no message

This commit is contained in:
kittapath 2024-09-02 15:35:12 +07:00
parent a2292d6048
commit 9c338a0cde
3 changed files with 36 additions and 81 deletions

View file

@ -2563,6 +2563,9 @@ export class ProfileController extends Controller {
posType: true,
},
where: { profileId: id },
order: {
createdAt: "ASC",
},
});
if (!profile) throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูล");