sending checkin lat long in the user itinerary api and city state country details of the parent company in the getbyid api of host
This commit is contained in:
@@ -446,7 +446,46 @@ export class HostService {
|
||||
where: { userXid: id },
|
||||
include: {
|
||||
hostParent: {
|
||||
include: {
|
||||
select: {
|
||||
id: true,
|
||||
logoPath: true,
|
||||
companyName: true,
|
||||
address1: true,
|
||||
address2: true,
|
||||
cities: {
|
||||
select: {
|
||||
id: true,
|
||||
cityName: true
|
||||
}
|
||||
},
|
||||
states: {
|
||||
select: {
|
||||
id: true,
|
||||
stateName: true
|
||||
}
|
||||
},
|
||||
countries: {
|
||||
select: {
|
||||
id: true,
|
||||
countryName: true
|
||||
}
|
||||
},
|
||||
pinCode: true,
|
||||
registrationNumber: true,
|
||||
panNumber: true,
|
||||
gstNumber: true,
|
||||
formationDate: true,
|
||||
companyTypes: {
|
||||
select: {
|
||||
id: true,
|
||||
companyTypeName: true
|
||||
}
|
||||
},
|
||||
websiteUrl: true,
|
||||
instagramUrl: true,
|
||||
facebookUrl: true,
|
||||
linkedinUrl: true,
|
||||
twitterUrl: true,
|
||||
HostParenetDocuments: {
|
||||
select: {
|
||||
id: true,
|
||||
|
||||
@@ -1523,6 +1523,8 @@ export class ItineraryService {
|
||||
checkInCity: activity.checkInCity,
|
||||
checkInState: activity.checkInState,
|
||||
checkInCountry: activity.checkInCountry,
|
||||
checkInLat: activity.checkInLat,
|
||||
checkInLong: activity.checkInLong,
|
||||
interest: activity.activityType?.interests
|
||||
? {
|
||||
id: activity.activityType.interests.id,
|
||||
|
||||
Reference in New Issue
Block a user