reprtingManger self added

master^2
Bhaskar 6 months ago
parent b92fd287ad
commit d37ea75caf

@ -106,7 +106,7 @@ const citySchema = new mongoose.Schema(
desginationName: { type: String },
phone: { type: String, unique: true, trim: true },
alternativeContactNumber : { type: String },
reportingManager : { type: String },
reportingManager: { type: String, default: "Self" },
reportingManager_mobile_number : { type: String },
reportingManager_email : { type: String },
location: [{ type : String}],

@ -198,7 +198,7 @@ module.exports = function (fastify, opts, next) {
departmentName: { type: "string" },
firstName: { type: "string" },
lastName: { type: "string" },
reportingManager: { type: "string" },
reportingManager: { type: "string", default: "Self" },
email: { type: "string" },
personal_city: { type: "string"},
officeName: { type: "string"},

Loading…
Cancel
Save