Skip to content

Commit 6da3447

Browse files
authored
Fix sample code in README.md (#1073)
1 parent 2270b2f commit 6da3447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ import createClient from "openapi-fetch";
101101
import { paths } from "./v1"; // (generated from openapi-typescript)
102102

103103
const { get, post, put, patch, del } = createClient<paths>({
104-
baseURL: "https://myserver.com/api/v1/",
104+
baseUrl: "https://myserver.com/api/v1/",
105105
headers: {
106106
Authorization: `Bearer ${import.meta.env.VITE_AUTH_TOKEN}`,
107107
},

0 commit comments

Comments
 (0)