Skip to content

Commit 7cc0703

Browse files
thomasballingerConvex, Inc.
authored andcommitted
Fix faulty React Query integration code (#38222)
GitOrigin-RevId: c6332258c89043d047a6c6a36980f91729a665c6
1 parent b903d2e commit 7cc0703

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@convex-dev/react-query",
3-
"version": "0.0.0-alpha.9",
3+
"version": "0.0.0-alpha.11",
44
"license": "Apache-2.0",
55
"type": "module",
66
"scripts": {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ export class ConvexQueryClient {
366366
if (isConvexAction(context.queryKey)) {
367367
const [_, func, args] = context.queryKey;
368368
if (isServer) {
369-
return await this.convexClient.action(func, args);
369+
return await this.serverHttpClient!.action(func, args);
370370
} else {
371371
return await this.convexClient.action(func, args);
372372
}

0 commit comments

Comments
 (0)