picture added in department schema

master^2
Bhaskar 8 months ago
parent 46cd536736
commit 9ecf77e259

@ -475,6 +475,7 @@ exports.addDepartment = async (request, reply) => {
pincode,
desginationName,
location,
picture,
createdBy,
updatedBy,
} = request.body;
@ -517,6 +518,7 @@ exports.addDepartment = async (request, reply) => {
pincode,
desginationName,
location,
picture,
createdBy,
updatedBy,
});

@ -98,6 +98,7 @@ const citySchema = new mongoose.Schema(
personal_city: { type: String },
state: String,
country: String,
picture:{type:String},
services: { password: { bcrypt: String } },
createdAt: {
type: Date,

@ -204,6 +204,7 @@ module.exports = function (fastify, opts, next) {
officeName: { type: "string"},
reportingManager_mobile_number: { type: "string"},
reportingManager_email: { type: "string"},
picture: { type: "string"},
location: {
type: "array",
items: { type: "string" },

Loading…
Cancel
Save