master^2
Bhaskar 1 month ago
parent aa4eee1869
commit 4aa58d0e41

@ -783,7 +783,8 @@ exports.getBranchDetails = async (request, reply) => {
reportingManager_mobile_number,
reportingManager_email,
officeName,
picture
picture,
employeeType
} = request.body;
@ -823,6 +824,7 @@ exports.getBranchDetails = async (request, reply) => {
existing.reportingManager_email = reportingManager_email || existing.reportingManager_email;
existing.officeName = officeName || existing.officeName
existing.picture = picture || existing.picture
existing.employeeType = employeeType || existing.employeeType
await existing.save();

@ -464,6 +464,7 @@ fastify.route({
reportingManager_mobile_number: { type: "string"},
reportingManager_email: { type: "string"},
picture: { type: "string"},
employeeType: { type: "string" },
},

Loading…
Cancel
Save