adding _payload to preserve the original text

master
cheetah 4 years ago
parent f5f69d1bf5
commit 9a354e9773

@ -16,6 +16,8 @@ class MessageManager {
type, type,
routingParams, routingParams,
payload, payload,
_payload: payload,
date: new Date()
} }
await require("./DeviceRegistry").Devices[ routingParams.device ].formatTX(msgObj) await require("./DeviceRegistry").Devices[ routingParams.device ].formatTX(msgObj)
// console.log('finished msg obj is ', msgObj) // console.log('finished msg obj is ', msgObj)

Loading…
Cancel
Save