diff --git a/src/index.js b/src/index.js index ac62951c..072e0237 100644 --- a/src/index.js +++ b/src/index.js @@ -232,6 +232,7 @@ fastify.post("/api/login", { longitude: loginObject.user.longitude, type: loginObject.user.profile.role, fcmId: loginObject.user.fcmId, + deviceId: loginObject.user.deviceId, typeasobj: stringToJsonObject, }, }); @@ -254,6 +255,8 @@ fastify.post("/api/login", { latitude: loginObject.user.latitude, longitude: loginObject.user.longitude, type: loginObject.user.profile.role, + deviceId: loginObject.user.deviceId, + fcmId: loginObject.user.fcmId, typeasobj: stringToJsonObject, }, });