ashok 1 month ago
commit 6d9ff86d61

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

Loading…
Cancel
Save