changes in tanks active and inactive status

master^2
Varun 10 months ago
parent d5e27ef501
commit 447fee8460

@ -6456,7 +6456,7 @@ exports.updatetankstatus = async (req, reply) => {
exports.listofactiveandinactivetankstatus = async (req, reply) => {
try {
const { customerId } = req.params;
const { status } = req.query;
const status = req.query.status.toLowerCase();
if (!["active", "inactive"].includes(status)) {
return reply.code(400).send({ message: "Invalid status value" });

Loading…
Cancel
Save