fix: wrong condition get addr history
This commit is contained in:
parent
ab365257de
commit
41cce9761a
1 changed files with 1 additions and 3 deletions
|
|
@ -71,9 +71,7 @@ export class ProfileAddressController extends Controller {
|
|||
@Get("history/{addressId}")
|
||||
public async getProfileAddressHistory(@Path() addressId: string) {
|
||||
const record = await this.profileAddressHistoryRepo.find({
|
||||
where: {
|
||||
id: addressId,
|
||||
},
|
||||
where: { profileId: addressId },
|
||||
select: [
|
||||
"registrationAddress",
|
||||
"registrationProvinceId",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue