From 1ca5836819ae8765712d21e9b7ed396688b10445 Mon Sep 17 00:00:00 2001 From: varun Date: Wed, 1 Feb 2023 06:43:06 -0500 Subject: [PATCH] added username and email in update user --- src/routes/usersRoute.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/routes/usersRoute.js b/src/routes/usersRoute.js index 255fe318..12f96e68 100644 --- a/src/routes/usersRoute.js +++ b/src/routes/usersRoute.js @@ -98,6 +98,7 @@ module.exports = function (fastify, opts, next) { phone: { type: "string" }, firstName: { type: "string" }, lastName: { type: "string" }, + address1: { type: "string" }, address2: { type: "string" }, city: { type: "string" }, @@ -345,6 +346,8 @@ module.exports = function (fastify, opts, next) { phone: { type: "string" }, firstName: { type: "string" }, lastName: { type: "string" }, + username: { type: "string" }, + email: { type: "string" }, address1: { type: "string" }, address2: { type: "string" }, city: { type: "string" },