|
|
|
@ -1321,7 +1321,8 @@ fastify.post("/api/installLogin", {
|
|
|
|
|
return reply.send({
|
|
|
|
|
success: true,
|
|
|
|
|
message: "Login successful",
|
|
|
|
|
data: {
|
|
|
|
|
simplydata: {
|
|
|
|
|
error: false,
|
|
|
|
|
access_token: token,
|
|
|
|
|
installationId: installation.installationId,
|
|
|
|
|
phone: installation.phone,
|
|
|
|
@ -1546,9 +1547,8 @@ fastify.post("/api/teamMemberLogin", {
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
return reply.send({
|
|
|
|
|
success: true,
|
|
|
|
|
message: "Login successful",
|
|
|
|
|
data: {
|
|
|
|
|
simplydata: {
|
|
|
|
|
error: false,
|
|
|
|
|
access_token: token,
|
|
|
|
|
phone: teamMember.phone,
|
|
|
|
|
firstName: teamMember.firstName,
|
|
|
|
@ -1556,7 +1556,7 @@ fastify.post("/api/teamMemberLogin", {
|
|
|
|
|
alternativePhone: teamMember.alternativePhone,
|
|
|
|
|
email: teamMember.email,
|
|
|
|
|
status: teamMember.status || "active",
|
|
|
|
|
type,
|
|
|
|
|
type: type,
|
|
|
|
|
installationId: installation.installationId
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|