ashok 3 months ago
commit 5fbbed4635

@ -2785,7 +2785,7 @@ exports.getPendingOrdersByInstallationId = async (req, reply) => {
} }
}; };
exports.getPendingOrdersByInstallationId = async (req, reply) => { exports.getCompleteOrdersByInstallationId = async (req, reply) => {
try { try {
const { installationId } = req.params; const { installationId } = req.params;

@ -2036,7 +2036,7 @@ fastify.get("/api/Completeordersofinstall/:installationId", {
}, },
], ],
}, },
handler: storeController.getPendingOrdersByInstallationId, handler: storeController.getCompleteOrdersByInstallationId,
}); });
fastify.post( fastify.post(

Loading…
Cancel
Save