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
.findInterest(typedRequestArg.correlation.id)
?.fullfillInterest(typedRequestArg);
return {
...typedRequestArg,
...{
method: 'nullPathFromResponse'
}
};
} else {
console.log('received weirdly shaped request');
console.log(typedRequestArg);
return {}
}
return {
...typedRequestArg,
...{
method: 'nullPathFromResponse',
},
};
}
}