Loading packages/core/package.json +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ "name": "@ever-platform/core", "description": "Ever Platform Headless Framework", "license": "AGPL-3.0", "version": "0.3.25", "version": "0.3.26", "homepage": "https://ever.co", "repository": { "type": "git", Loading packages/core/src/graphql/geo-locations/merchants/geo-location-merchants.resolver.ts +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ export class GeoLocationMerchantsResolver { let merchants = await this.geoLocationsWarehousesService.getMerchants( geoLocation, IN_STORE_DISTANCE, { fullProducts: false, activeOnly: true, storeMode: true } { fullProducts: false, activeOnly: true, inStoreMode: true } ); merchants = merchants.sort( Loading packages/core/src/services/geo-locations/GeoLocationsWarehousesService.ts +2 −2 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ export class GeoLocationsWarehousesService fullProducts: boolean; activeOnly: boolean; merchantsIds?: string[]; storeMode?: boolean; inStoreMode?: boolean; } ): Promise<IWarehouse[]> { const merchantsIds = options.merchantsIds; Loading @@ -162,7 +162,7 @@ export class GeoLocationsWarehousesService }, }, options.activeOnly ? { isActive: true } : {}, options.storeMode ? { inStoreMode: true } : {}, options.inStoreMode ? { inStoreMode: true } : {}, merchantsIds && merchantsIds.length > 0 ? { _id: { $in: merchantsIds }, Loading Loading
packages/core/package.json +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ "name": "@ever-platform/core", "description": "Ever Platform Headless Framework", "license": "AGPL-3.0", "version": "0.3.25", "version": "0.3.26", "homepage": "https://ever.co", "repository": { "type": "git", Loading
packages/core/src/graphql/geo-locations/merchants/geo-location-merchants.resolver.ts +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ export class GeoLocationMerchantsResolver { let merchants = await this.geoLocationsWarehousesService.getMerchants( geoLocation, IN_STORE_DISTANCE, { fullProducts: false, activeOnly: true, storeMode: true } { fullProducts: false, activeOnly: true, inStoreMode: true } ); merchants = merchants.sort( Loading
packages/core/src/services/geo-locations/GeoLocationsWarehousesService.ts +2 −2 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ export class GeoLocationsWarehousesService fullProducts: boolean; activeOnly: boolean; merchantsIds?: string[]; storeMode?: boolean; inStoreMode?: boolean; } ): Promise<IWarehouse[]> { const merchantsIds = options.merchantsIds; Loading @@ -162,7 +162,7 @@ export class GeoLocationsWarehousesService }, }, options.activeOnly ? { isActive: true } : {}, options.storeMode ? { inStoreMode: true } : {}, options.inStoreMode ? { inStoreMode: true } : {}, merchantsIds && merchantsIds.length > 0 ? { _id: { $in: merchantsIds }, Loading