Skip to content

Commit 0ba23c9

Browse files
committed
merge main
2 parents e9f80f0 + 9d86052 commit 0ba23c9

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,5 @@
2323
"dotenv-cli": "^8.0.0",
2424
"npm-run-all": "^4.1.5"
2525
},
26-
"packageManager": "yarn@4.7.0",
27-
"dependencies": {
28-
"@coderabbitai/bitbucket": "^1.1.3"
29-
}
26+
"packageManager": "yarn@4.7.0"
3027
}

packages/backend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"vitest": "^2.1.9"
2323
},
2424
"dependencies": {
25+
"@coderabbitai/bitbucket": "^1.1.3",
2526
"@gitbeaker/rest": "^40.5.1",
2627
"@octokit/rest": "^21.0.2",
2728
"@sentry/cli": "^2.42.2",

packages/web/src/actions.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,8 +1278,10 @@ export const redeemInvite = async (inviteId: string): Promise<{ success: boolean
12781278
// Delete the account request if it exists since we've redeemed an invite
12791279
const accountRequest = await tx.accountRequest.findUnique({
12801280
where: {
1281-
requestedById: user.id,
1282-
orgId: invite.orgId,
1281+
requestedById_orgId: {
1282+
requestedById: user.id,
1283+
orgId: invite.orgId,
1284+
}
12831285
},
12841286
});
12851287

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5758,6 +5758,7 @@ __metadata:
57585758
version: 0.0.0-use.local
57595759
resolution: "@sourcebot/backend@workspace:packages/backend"
57605760
dependencies:
5761+
"@coderabbitai/bitbucket": "npm:^1.1.3"
57615762
"@gitbeaker/rest": "npm:^40.5.1"
57625763
"@octokit/rest": "npm:^21.0.2"
57635764
"@sentry/cli": "npm:^2.42.2"
@@ -14396,7 +14397,6 @@ __metadata:
1439614397
version: 0.0.0-use.local
1439714398
resolution: "root-workspace-0b6124@workspace:."
1439814399
dependencies:
14399-
"@coderabbitai/bitbucket": "npm:^1.1.3"
1440014400
cross-env: "npm:^7.0.3"
1440114401
dotenv-cli: "npm:^8.0.0"
1440214402
npm-run-all: "npm:^4.1.5"

0 commit comments

Comments
 (0)