|
|
|
@ -793,7 +793,7 @@ const getLocationsByCityAndZone = async (city, zone) => {
|
|
|
|
|
matchCondition.zone = zone.trim();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const result = await Branch.aggregate([
|
|
|
|
|
const result = await Zone.aggregate([
|
|
|
|
|
{
|
|
|
|
|
$project: {
|
|
|
|
|
city: { $toLower: { $trim: { input: "$city" } } },
|
|
|
|
|