Skip to content

Commit

Permalink
📝 Docs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NatoBoram committed Sep 18, 2024
1 parent a88ecd7 commit 58be480
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const basic = toBase64(
BITBUCKET_CLOUD_USERNAME + ":" + BITBUCKET_CLOUD_APP_PASSWORD,
)

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

export const server = createBitbucketServerClient({
const server = createBitbucketServerClient({
baseUrl: BITBUCKET_SERVER_URL,
headers: {
Accept: "application/json",
Expand Down
2 changes: 1 addition & 1 deletion src/cloud/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { paths } from "./openapi/index.js"
* Creates an `openapi-fetch` client using {@link createClient}.
*
* @example
* export client = createBitbucketCloudClient({
* const client = createBitbucketCloudClient({
* baseUrl: "https://api.bitbucket.org/2.0",
* headers: { Accept: "application/json", Authorization: `Basic ${basic}` },
* })
Expand Down
2 changes: 1 addition & 1 deletion src/server/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { paths } from "./openapi/index.js"
* Creates an `openapi-fetch` client using {@link createClient}.
*
* @example
* export const client = createBitbucketServerClient({
* const client = createBitbucketServerClient({
* baseUrl: "https://example.org/rest",
* headers: {
* Accept: "application/json",
Expand Down

0 comments on commit 58be480

Please sign in to comment.