fix(core): update

This commit is contained in:
Philipp Kunz 2020-10-06 21:33:46 +00:00
parent 265109fca6
commit ce3bfa01b4

View File

@ -109,12 +109,16 @@ export class TypedRouter {
this.fireEventInterestMap this.fireEventInterestMap
.findInterest(typedRequestArg.correlation.id) .findInterest(typedRequestArg.correlation.id)
?.fullfillInterest(typedRequestArg); ?.fullfillInterest(typedRequestArg);
return { } else {
...typedRequestArg, console.log('received weirdly shaped request');
...{ console.log(typedRequestArg);
method: 'nullPathFromResponse' return {}
}
};
} }
return {
...typedRequestArg,
...{
method: 'nullPathFromResponse',
},
};
} }
} }