ashok 1 month ago
commit 9abca9d49e

@ -649,12 +649,12 @@ exports.getAllDepartments = async (request, reply) => {
}) })
); );
cityMatches.forEach((ho) => // cityMatches.forEach((ho) =>
responseData.push({ // responseData.push({
officeType: "headOffice", // officeType: "headOffice",
...ho, // ...ho,
}) // })
); // );
responseData.push(...departments); responseData.push(...departments);

Loading…
Cancel
Save