Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 18ea080

Browse files
committed
fix(core): fix endpoint not being respected in createClient (#1255)
1 parent eedbac6 commit 18ea080

File tree

1 file changed

+1
-1
lines changed
  • packages/rivetkit/src/client

1 file changed

+1
-1
lines changed

packages/rivetkit/src/client/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function createClient<A extends Registry<any>>(
5050
endpointOrConfig === undefined
5151
? {}
5252
: typeof endpointOrConfig === "string"
53-
? { engine: endpointOrConfig }
53+
? { endpoint: endpointOrConfig }
5454
: endpointOrConfig;
5555
const config = ClientConfigSchema.parse(configInput);
5656

0 commit comments

Comments
 (0)