Skip to content

Commit

Permalink
body
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Feb 27, 2024
1 parent 7cbd801 commit 15a22e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/meter.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ exports.post = async (event, context) => {
meter = await new Meter(null, body.SERIALNUMBER + '_' + body.MODBUSDEVICE).get()
console.log(body.SERIALNUMBER + '_' + body.MODBUSDEVICE)
if (body.SERIALNUMBER + '_' + body.MODBUSDEVICE === '001EC60553A5_53') {
console.log('Meter name of 001EC60553A5_53 is: ' + body.MODBUSDEVICENAME)
console.log('Body of 001EC60553A5_53 is: ' + body)
}
} catch (err) {
if (err.name === 'MeterNotFound') {
Expand Down

0 comments on commit 15a22e0

Please sign in to comment.