fixed the get api of activity

This commit is contained in:
2025-12-30 13:39:36 +05:30
parent 738b2c6608
commit 2c81e949ca

View File

@@ -1808,12 +1808,6 @@ export class HostService {
ActivityPickUpDetails: {
where: {
isActive: true,
activityPickUpTransport: {
isActive: true,
transportMode: {
isActive: true,
},
},
},
select: {
id: true,
@@ -1823,21 +1817,21 @@ export class HostService {
locationLong: true,
transportTotalPrice: true,
transportBasePrice: true,
activityPickUpTransport: {
},
},
activityPickUpTransports: {
where: {
isActive: true
},
select: {
id: true,
isTransportModeChargeable: true,
transportModeXid: true,
transportMode: {
select: {
transportModeName: true,
transportModeIcon: true,
},
},
},
},
},
transportModeIcon: true
}
}
}
},
foodAvailable: true,
foodIsChargeable: true,