Skip to content

Commit

Permalink
fix client context
Browse files Browse the repository at this point in the history
  • Loading branch information
userXinos committed May 7, 2024
1 parent 816184e commit c792819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/compendium.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ if (compendiumClient) {
}

export default new Proxy(client, {
get(target: Client1 | Client2, p: string | symbol): unknown {
return client[p];
get: function(target: Client1 | Client2, p: string | symbol, receiver: ProxyHandler<Client1 | Client2>): unknown {
return Reflect.get(target, p, receiver);
},
});

Expand Down

0 comments on commit c792819

Please sign in to comment.