|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|