master^2
Bhaskar 4 months ago
parent 5e618a137e
commit 573319a833

@ -261,7 +261,10 @@ const installationschema = new mongoose.Schema({
}, },
category: { category: {
type: String, type: String,
enum: ["Power Outage", "Level1", "Pending", "Onsite Issues"], enum: [ "Power Outage",
"Pending",
"Resolved",
"Escalation",],
required: true required: true
}, },
movedAt: { movedAt: {

@ -779,7 +779,10 @@ module.exports = function (fastify, opts, next) {
supportId: { type: 'string' }, supportId: { type: 'string' },
category: { category: {
type: 'string', type: 'string',
enum: ['Power Outage', 'Level1', 'Pending', 'Onsite Issues'] enum: ["Power Outage",
"Pending",
"Resolved",
"Escalation"]
} }
} }
}, },

Loading…
Cancel
Save