changes on forgot password

master^2
Bhaskar 2 months ago
parent 21c597ec04
commit 0911022dab

@ -440,6 +440,7 @@ exports.changePassword = async (req, reply) => {
latitude: updatedUser.latitude,
longitude: updatedUser.longitude,
type: updatedUser.profile.role,
loginType: updatedUser.profile.role[0],
typeasobj: updatedUser.profile.role.reduce((obj, role, index) => {
obj[index] = role;
return obj;

Loading…
Cancel
Save