name filed removed

master
Naidu 1 year ago
parent 572fea5130
commit 9c489537bc

@ -13,7 +13,7 @@ const supplierController = require("../controllers/supplierController")
exports.installSignUp = async (request, reply) => {
try {
const {
name,
//name,
phone,
address,
installationId,
@ -49,7 +49,7 @@ exports.installSignUp = async (request, reply) => {
// Create a new install object with the hashed password and other details
const install = new Install({
name,
//name,
phone,
address,
installationId,

@ -5,7 +5,7 @@ const ObjectId = Schema.Types.ObjectId;
const installationschema = new mongoose.Schema({
name: { type: String },
// name: { type: String },
phone: { type: String, unique: true, trim: true },
address: String,
installationId: { type: String },

@ -25,7 +25,7 @@ module.exports = function (fastify, opts, next) {
},
},
},
name: { type: 'string' },
//name: { type: 'string' },
team: { type: 'string', default: null },
manager: { type: 'string', default: null },
address1: { type: 'string', default: null },

Loading…
Cancel
Save