ashok 4 months ago
commit 8161f2049a

@ -268,7 +268,7 @@ const installationschema = new mongoose.Schema({
}, },
category: { category: {
type: String, type: String,
enum: ["Power Outage", "Resolved", "Escalation"], enum: ["Power Outage", "Resolved", "Escalation","Pending"],
required: true required: true
}, },
ticketId: String, ticketId: String,

@ -842,7 +842,8 @@ module.exports = function (fastify, opts, next) {
type: 'string', type: 'string',
enum: ["Power Outage", enum: ["Power Outage",
"Resolved", "Resolved",
"Escalation"] "Escalation",
"Pending"]
} }
} }
}, },

Loading…
Cancel
Save