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 // Send the found tank within a list
const resultList = [{ reply.send({ status_code: 200, data: [mainTank] });
type: 'Main Tank',
message: 'This is the data of the main tank.',
details: mainTank
}];
reply.send({ status_code: 200, data: resultList });
} catch (err) { } catch (err) {
throw boom.boomify(err); throw boom.boomify(err);
} }

Loading…
Cancel
Save