แก้ค้นหาประวัติ by token

This commit is contained in:
Kittapath 2024-05-23 17:20:15 +07:00
parent ff0be7af48
commit 24c5cbef55
7 changed files with 8 additions and 8 deletions

View file

@ -36,7 +36,7 @@ export class ProfileNopaidController extends Controller {
throw new HttpError(HttpStatus.BAD_REQUEST, "ไม่พบ profile ดังกล่าว");
}
const lists = await this.nopaidRepository.find({
where: { id: profile.id },
where: { profileId: profile.id },
});
return new HttpSuccess(lists);
}