|
|
@ -219,7 +219,7 @@ fastify.post("/api/login", {
|
|
|
|
error: false,
|
|
|
|
error: false,
|
|
|
|
apiversion: fastify.config.APIVERSION,
|
|
|
|
apiversion: fastify.config.APIVERSION,
|
|
|
|
access_token: token,
|
|
|
|
access_token: token,
|
|
|
|
buildingName:loginObject.buildingName,
|
|
|
|
buildingName:loginObject.user.buildingName,
|
|
|
|
email: loginObject.user.emails,
|
|
|
|
email: loginObject.user.emails,
|
|
|
|
phone: loginObject.user.phone,
|
|
|
|
phone: loginObject.user.phone,
|
|
|
|
customerId: loginObject.user.customerId,
|
|
|
|
customerId: loginObject.user.customerId,
|
|
|
@ -244,7 +244,7 @@ fastify.post("/api/login", {
|
|
|
|
picture:profilePicture.picture,
|
|
|
|
picture:profilePicture.picture,
|
|
|
|
email: loginObject.user.emails,
|
|
|
|
email: loginObject.user.emails,
|
|
|
|
phone: loginObject.user.phone,
|
|
|
|
phone: loginObject.user.phone,
|
|
|
|
buildingName:loginObject.buildingName,
|
|
|
|
buildingName:loginObject.user.buildingName,
|
|
|
|
customerId: loginObject.user.customerId,
|
|
|
|
customerId: loginObject.user.customerId,
|
|
|
|
username: loginObject.user.username,
|
|
|
|
username: loginObject.user.username,
|
|
|
|
address1: loginObject.user.profile.address1,
|
|
|
|
address1: loginObject.user.profile.address1,
|
|
|
|