login select response completed tested

This commit is contained in:
2025-06-18 14:01:43 +03:00
parent 24b3ba1c7b
commit dda9b1bb36
6 changed files with 0 additions and 13 deletions

View File

@@ -44,10 +44,8 @@ const setActiveSelectionToRedis = async (selectionObject: any) => {
}
})
if (oldData.online.userType.toUpperCase() === "EMPLOYEE") {
console.log("selectionObject", selectionObject)
await loginSelectEmployee({ uuid: selectionObject.uu_id });
} else if (oldData.online.userType.toUpperCase() === "OCCUPANT") {
console.log("selectionObject", selectionObject.build_living_space_uu_id)
await loginSelectOccupant({ uuid: selectionObject.build_living_space_uu_id });
}
return true;

View File

@@ -60,7 +60,6 @@ async function initRedis(loginRespone: any, firstSelection: any, accessToken: st
async function initFirstSelection(firstSelection: any, userType: string) {
if (userType === "EMPLOYEE") {
const uuid = firstSelection.uu_id;
console.log("uuid", uuid)
await loginSelectEmployee({ uuid });
} else if (userType === "OCCUPANT") {
const uuid = firstSelection.build_living_space_uu_id;