master^2
Varun 7 months ago
parent 7538d7e1aa
commit cd505dcab4

@ -301,6 +301,7 @@ exports.loginUser = async (req, fcmIds, deviceId) => {
} }
} }
// If no user or staff found, return invalid credentials // If no user or staff found, return invalid credentials
if (!user) return { same: false }; if (!user) return { same: false };

@ -251,6 +251,7 @@ fastify.post("/api/login", {
}, },
}; };
if (profilePicture) { if (profilePicture) {
responsePayload.simplydata.picture = profilePicture.picture; responsePayload.simplydata.picture = profilePicture.picture;
} }

Loading…
Cancel
Save