@ -301,6 +301,7 @@ exports.loginUser = async (req, fcmIds, deviceId) => {
}
// If no user or staff found, return invalid credentials
if (!user) return { same: false };
@ -251,6 +251,7 @@ fastify.post("/api/login", {
},
};
if (profilePicture) {
responsePayload.simplydata.picture = profilePicture.picture;