diff --git a/src/modules/host/services/host.service.ts b/src/modules/host/services/host.service.ts index 095bd3e..6d88be1 100644 --- a/src/modules/host/services/host.service.ts +++ b/src/modules/host/services/host.service.ts @@ -481,6 +481,38 @@ export class HostService { profileImage: true, userStatus: true, userRefNumber: true, + userAddressDetails: { + where: { isActive: true }, + select: { + id: true, + address1: true, + address2: true, + locationAddress: true, + locationLat: true, + locationLong: true, + cityXid: true, + cities: { + select: { + id: true, + cityName: true, + } + }, + stateXid: true, + states: { + select: { + id: true, + stateName: true, + } + }, + countryXid: true, + country:{ + select: { + id: true, + countryName: true + } + } + } + } }, }, companyTypes: {