master
varun 1 year ago
parent 0393a5cfd9
commit 5a88afc9b2

@ -189,13 +189,7 @@ exports.getConnectionsInfoOfParticularTank = async (req, reply) => {
}
// Send the found tank within a list
const resultList = [{
type: 'Main Tank',
message: 'This is the data of the main tank.',
details: mainTank
}];
reply.send({ status_code: 200, data: resultList });
reply.send({ status_code: 200, data: [mainTank] });
} catch (err) {
throw boom.boomify(err);
}

Loading…
Cancel
Save