Skip to content

Commit

Permalink
Update Connect for Node.js / Get Requests and Caching
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Stamm <[email protected]>
  • Loading branch information
timostamm committed Oct 30, 2024
1 parent 5f0d55e commit a31aefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/node/get-requests-and-caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const transport = createConnectTransport({
baseUrl: "https://demo.connectrpc.com",
useHttpGet: true,
});
const client = createPromiseClient(ElizaService, transport);
const client = createClient(ElizaService, transport);
const response = await client.say(request);
console.log(response);
```
Expand Down

0 comments on commit a31aefc

Please sign in to comment.