Skip to content

Commit

Permalink
stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Feb 27, 2024
1 parent 15a22e0 commit 5526545
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/app/meter.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ 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('Body of 001EC60553A5_53 is: ' + body)
console.log('Body of 001EC60553A5_53 is: ')
console.log(JSON.stringify(body))
}
} catch (err) {
if (err.name === 'MeterNotFound') {
Expand Down

0 comments on commit 5526545

Please sign in to comment.