Commit a421d027 authored by sunko's avatar sunko
Browse files

fix: renaming

parent 566b1eef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",
+1 −1
Original line number Diff line number Diff line
@@ -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(
+2 −2
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ export class GeoLocationsWarehousesService
			fullProducts: boolean;
			activeOnly: boolean;
			merchantsIds?: string[];
			storeMode?: boolean;
			inStoreMode?: boolean;
		}
	): Promise<IWarehouse[]> {
		const merchantsIds = options.merchantsIds;
@@ -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 },