แก้ค้นหาประวัติ by token
This commit is contained in:
parent
ff0be7af48
commit
24c5cbef55
7 changed files with 8 additions and 8 deletions
|
|
@ -41,7 +41,7 @@ export class ProfileAddressController extends Controller {
|
|||
throw new HttpError(HttpStatus.BAD_REQUEST, "ไม่พบ profile ดังกล่าว");
|
||||
}
|
||||
const getProfileAddress = await this.profileRepo.findOne({
|
||||
where: { id: request.user.sub },
|
||||
where: { id: profile.id },
|
||||
select: [
|
||||
"id",
|
||||
"registrationAddress",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue