adding _payload to preserve the original text

This commit is contained in:
cheetah 2021-04-02 14:42:41 +00:00
parent f5f69d1bf5
commit 9a354e9773

View file

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