diff --git a/src/controllers/ProfileAddressController.ts b/src/controllers/ProfileAddressController.ts index d7141708..5e9013f3 100644 --- a/src/controllers/ProfileAddressController.ts +++ b/src/controllers/ProfileAddressController.ts @@ -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",