Skip to content

Commit 58be480

Browse files
committed
📝 Docs fixes
1 parent a88ecd7 commit 58be480

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const basic = toBase64(
2929
BITBUCKET_CLOUD_USERNAME + ":" + BITBUCKET_CLOUD_APP_PASSWORD,
3030
)
3131

32-
export const client = createBitbucketCloudClient({
32+
const client = createBitbucketCloudClient({
3333
baseUrl: BITBUCKET_CLOUD_URL.toString(),
3434
headers: { Accept: "application/json", Authorization: `Basic ${basic}` },
3535
})
@@ -41,7 +41,7 @@ export const client = createBitbucketCloudClient({
4141
import { createBitbucketServerClient } from "@coderabbitai/bitbucket"
4242
import { BITBUCKET_SERVER_TOKEN, BITBUCKET_SERVER_URL } from "./env.js"
4343

44-
export const server = createBitbucketServerClient({
44+
const server = createBitbucketServerClient({
4545
baseUrl: BITBUCKET_SERVER_URL,
4646
headers: {
4747
Accept: "application/json",

src/cloud/client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { paths } from "./openapi/index.js"
66
* Creates an `openapi-fetch` client using {@link createClient}.
77
*
88
* @example
9-
* export client = createBitbucketCloudClient({
9+
* const client = createBitbucketCloudClient({
1010
* baseUrl: "https://api.bitbucket.org/2.0",
1111
* headers: { Accept: "application/json", Authorization: `Basic ${basic}` },
1212
* })

src/server/client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { paths } from "./openapi/index.js"
66
* Creates an `openapi-fetch` client using {@link createClient}.
77
*
88
* @example
9-
* export const client = createBitbucketServerClient({
9+
* const client = createBitbucketServerClient({
1010
* baseUrl: "https://example.org/rest",
1111
* headers: {
1212
* Accept: "application/json",

0 commit comments

Comments
 (0)