fix(core): update
This commit is contained in:
@ -27,8 +27,10 @@ export class DeesComms {
|
||||
const message = (eventArg as any).method ? eventArg : eventArg.data;
|
||||
console.log(JSON.stringify(message));
|
||||
const response = await this.typedrouter.routeAndAddResponse(message);
|
||||
if (response) {
|
||||
if (response && !response.error) {
|
||||
this.postMessage(response);
|
||||
} else {
|
||||
// console.log(response);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user