Browse Source

log

push-params
Evan Feenstra 4 years ago
parent
commit
ce3b0f4f7e
  1. 1
      api/network/receive.ts
  2. 1
      dist/api/network/receive.js
  3. 2
      dist/api/network/receive.js.map

1
api/network/receive.ts

@ -35,6 +35,7 @@ export const typesToReplay=[ // should match typesToForward
msgtypes.message, msgtypes.group_join, msgtypes.group_leave
]
async function onReceive(payload){
console.log('===> onReceive',JSON.stringify(payload,null,2))
// if tribe, owner must forward to MQTT
let doAction = true
const toAddIn:{[k:string]:any} = {}

1
dist/api/network/receive.js

@ -44,6 +44,7 @@ exports.typesToReplay = [
];
function onReceive(payload) {
return __awaiter(this, void 0, void 0, function* () {
console.log('===> onReceive', JSON.stringify(payload, null, 2));
// if tribe, owner must forward to MQTT
let doAction = true;
const toAddIn = {};

2
dist/api/network/receive.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save