Skip to content

Commit

Permalink
updating req.origin
Browse files Browse the repository at this point in the history
  • Loading branch information
NiranjanaBinoy committed Sep 27, 2024
1 parent 99fc242 commit ce66bca
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@ async function getProviderStateHandler<
end: JsonRpcEngineEndCallback,
{ getProviderState: _getProviderState }: Record<string, GetProviderState>,
): Promise<void> {
const { origin } = req;
res.result = {
...(await _getProviderState(origin)),
...(await _getProviderState(req.origin)),
};
return end();
}

0 comments on commit ce66bca

Please sign in to comment.