File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const basic = toBase64(
29
29
BITBUCKET_CLOUD_USERNAME + " :" + BITBUCKET_CLOUD_APP_PASSWORD ,
30
30
)
31
31
32
- export const client = createBitbucketCloudClient ({
32
+ const client = createBitbucketCloudClient ({
33
33
baseUrl: BITBUCKET_CLOUD_URL .toString (),
34
34
headers: { Accept: " application/json" , Authorization: ` Basic ${basic } ` },
35
35
})
@@ -41,7 +41,7 @@ export const client = createBitbucketCloudClient({
41
41
import { createBitbucketServerClient } from " @coderabbitai/bitbucket"
42
42
import { BITBUCKET_SERVER_TOKEN , BITBUCKET_SERVER_URL } from " ./env.js"
43
43
44
- export const server = createBitbucketServerClient ({
44
+ const server = createBitbucketServerClient ({
45
45
baseUrl: BITBUCKET_SERVER_URL ,
46
46
headers: {
47
47
Accept: " application/json" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import type { paths } from "./openapi/index.js"
6
6
* Creates an `openapi-fetch` client using {@link createClient}.
7
7
*
8
8
* @example
9
- * export client = createBitbucketCloudClient({
9
+ * const client = createBitbucketCloudClient({
10
10
* baseUrl: "https://api.bitbucket.org/2.0",
11
11
* headers: { Accept: "application/json", Authorization: `Basic ${basic}` },
12
12
* })
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import type { paths } from "./openapi/index.js"
6
6
* Creates an `openapi-fetch` client using {@link createClient}.
7
7
*
8
8
* @example
9
- * export const client = createBitbucketServerClient({
9
+ * const client = createBitbucketServerClient({
10
10
* baseUrl: "https://example.org/rest",
11
11
* headers: {
12
12
* Accept: "application/json",
You can’t perform that action at this time.
0 commit comments