From 5e8107335ea642e0e4bd7b1c12852dbbd963529e Mon Sep 17 00:00:00 2001 From: Bhaskar Date: Wed, 10 Sep 2025 16:02:39 +0530 Subject: [PATCH] changes --- src/index.js | 2 ++ src/models/store.js | 1 + 2 files changed, 3 insertions(+) diff --git a/src/index.js b/src/index.js index bb89d120..62c7a714 100644 --- a/src/index.js +++ b/src/index.js @@ -1884,6 +1884,7 @@ fastify.post("/api/installLogin", { zone: user.zone, address1: user.address1, address2: user.address2, + picture: user.picture, profile: { state: user.state, country: user.country, @@ -1921,6 +1922,7 @@ fastify.post("/api/installLogin", { fcmId: installation.fcmId, alternativeNumber: installation.alternativeNumber, phoneVerified: installation.phoneVerified, + picture: installation.picture }, }); } catch (err) { diff --git a/src/models/store.js b/src/models/store.js index 604c7370..83b3c674 100644 --- a/src/models/store.js +++ b/src/models/store.js @@ -136,6 +136,7 @@ const installationschema = new mongoose.Schema({ team: { type: String, default: null }, manager: { type: String, default: null }, + picture:{type:String}, team_member: { team_member: [