master^2
Bhaskar 1 month ago
parent 374e1d3ad3
commit 27677621ce

@ -759,7 +759,7 @@ exports.getAllOfficesByCity = async (req, reply) => {
} }
} }
// 3) Build response for each headOffice found // 3) Build response for each headOffice found
const finalResponse = []; const finalResponse = [];
@ -828,8 +828,8 @@ exports.getAllOfficesByCity = async (req, reply) => {
}); });
finalResponse.push({ finalResponse.push({
officeName: ho.officeName?.trim() || "", // officeName: ho.officeName?.trim() || "",
city: ho.city?.trim() || "", // city: ho.city?.trim() || "",
offices offices
}); });
} }

Loading…
Cancel
Save