added fields in user

master
varun 3 years ago
parent 1ca5836819
commit 1a9e34c369

@ -347,7 +347,16 @@ module.exports = function (fastify, opts, next) {
firstName: { type: "string" }, firstName: { type: "string" },
lastName: { type: "string" }, lastName: { type: "string" },
username: { type: "string" }, username: { type: "string" },
email: { type: "string" }, emails: {
type: "array",
maxItems: 2,
items: {
type: "object",
properties: {
email: { type: "string", default: null },
},
},
},
address1: { type: "string" }, address1: { type: "string" },
address2: { type: "string" }, address2: { type: "string" },
city: { type: "string" }, city: { type: "string" },

Loading…
Cancel
Save