ashok 2 years ago
commit 87734a0a62

@ -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