Skip to content

Commit

Permalink
Fix variable name in README.md (#385)
Browse files Browse the repository at this point in the history
Thanks to @alexongh for spotting the typo.

Signed-off-by: Timo Stamm <[email protected]>
  • Loading branch information
timostamm authored Jul 8, 2024
1 parent 6f90a8c commit 599baa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ import { TransportProvider } from "@connectrpc/connect-query";

const queryClient = new QueryClient();

export const App() {
export const App = () => {
const transport = createConnectTransport({
baseUrl: "<your baseUrl here>",
interceptors: [(next) => (request) => {
req.header.append("some-new-header", "some-value");
request.header.append("some-new-header", "some-value");
// Add your headers here
return next(request);
}],
Expand Down

0 comments on commit 599baa8

Please sign in to comment.