ashok 1 month ago
commit 8407b0f5c3

@ -82,7 +82,7 @@ const generateDepartmentId = async (city, departmentName) => {
googleLocation, googleLocation,
latitude, latitude,
longitude, longitude,
nameoftheContactPerson, // nameoftheContactPerson,
} = request.body; } = request.body;
@ -124,7 +124,7 @@ const generateDepartmentId = async (city, departmentName) => {
googleLocation, googleLocation,
latitude, latitude,
longitude, longitude,
nameoftheContactPerson, // nameoftheContactPerson,
createdBy, createdBy,
updatedBy, updatedBy,
}); });

@ -30,7 +30,7 @@ module.exports = function (fastify, opts, next) {
gstNo: { type: "string" }, gstNo: { type: "string" },
latitude: { type: 'number', default: 0.0 }, latitude: { type: 'number', default: 0.0 },
longitude: { type: 'number', default: 0.0 }, longitude: { type: 'number', default: 0.0 },
nameoftheContactPerson: {type : "string"}, //nameoftheContactPerson: {type : "string"},
//departmentName: { type: "string" }, //departmentName: { type: "string" },
}, },

Loading…
Cancel
Save