fix(core): update
This commit is contained in:
parent
265109fca6
commit
ce3bfa01b4
@ -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',
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user