LONG term issues

master^2
Bhaskar 3 months ago
parent fce456b73b
commit d8f9fa744d

@ -740,6 +740,24 @@ module.exports = function (fastify, opts, next) {
}, },
handler: installationController.powerOutageCustomerDetails, handler: installationController.powerOutageCustomerDetails,
}); });
fastify.get("/api/longTermissusesmasterslavedetails/:supportId/:customerId", {
schema: {
description: "Long Term Issues the master and slave details move for Support",
tags: ["Support"],
summary: "Long Term Issues the master and slave details move for Support",
params: {
type: "object",
properties: {
supportId: { type: "string" },
customerId: { type: "string" },
},
required: [ "supportId"],
},
},
handler: installationController.getLongTermIssuesByCustomer,
});
fastify.get("/api/powerOutageissusesmasterslavedetails/:supportId/:customerId", { fastify.get("/api/powerOutageissusesmasterslavedetails/:supportId/:customerId", {
schema: { schema: {
@ -757,7 +775,7 @@ module.exports = function (fastify, opts, next) {
required: [ "supportId"], required: [ "supportId"],
}, },
}, },
handler: installationController.getLongTermIssuesByCustomer, handler: installationController.getPowerOutageIssuesByCustomer,
}); });
fastify.get("/api/outDoorEscalationissusesmasterslavedetails/:supportId/:customerId", { fastify.get("/api/outDoorEscalationissusesmasterslavedetails/:supportId/:customerId", {

Loading…
Cancel
Save