Skip to content

Commit 82c122c

Browse files
committed
fix build error
1 parent 53248d8 commit 82c122c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ clean:
3333
soft-reset:
3434
rm -rf .sourcebot
3535
redis-cli FLUSHALL
36+
yarn dev:prisma:migrate:reset
3637

3738

3839
.PHONY: bin

packages/backend/src/bitbucket.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createBitbucketCloudClient } from "@coderabbitai/bitbucket/cloud";
22
import { createBitbucketServerClient } from "@coderabbitai/bitbucket/server";
33
import { BitbucketConnectionConfig } from "@sourcebot/schemas/v3/bitbucket.type";
4-
import type { ClientOptions, Client, ClientPathsWithMethod } from "openapi-fetch";
4+
import type { ClientOptions, ClientPathsWithMethod } from "openapi-fetch";
55
import { createLogger } from "./logger.js";
66
import { PrismaClient } from "@sourcebot/db";
77
import { getTokenFromConfig, measure, fetchWithRetry } from "./utils.js";
@@ -12,7 +12,6 @@ import {
1212
import { SchemaRestRepository as ServerRepository } from "@coderabbitai/bitbucket/server/openapi";
1313
import { processPromiseResults } from "./connectionUtils.js";
1414
import { throwIfAnyFailed } from "./connectionUtils.js";
15-
import { PaginatedResponse } from "@gitbeaker/rest";
1615

1716
const logger = createLogger("Bitbucket");
1817
const BITBUCKET_CLOUD_GIT = 'https://bitbucket.org';

packages/web/src/actions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,8 @@ const parseConnectionConfig = (connectionType: string, config: string) => {
15281528
const { numRepos, hasToken } = (() => {
15291529
switch (parsedConfig.type) {
15301530
case "gitea":
1531-
case "github": {
1531+
case "github":
1532+
case "bitbucket": {
15321533
return {
15331534
numRepos: parsedConfig.repos?.length,
15341535
hasToken: !!parsedConfig.token,

0 commit comments

Comments
 (0)