File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff 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({
4141import { createBitbucketServerClient } from " @coderabbitai/bitbucket"
4242import { 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" ,
Original file line number Diff line number Diff 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 * })
Original file line number Diff line number Diff 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",
You can’t perform that action at this time.
0 commit comments