adding _payload to preserve the original text
This commit is contained in:
parent
f5f69d1bf5
commit
9a354e9773
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue