Skip to content

Commit a947b49

Browse files
authored
Merge pull request #1398 from shaunjanssens/feature/bitbucket-branches-length
feat: Bitbucket branch length
2 parents fc1d9ad + 62fae66 commit a947b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/utils/providers/bitbucket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ export const getBitbucketBranches = async (
275275
}
276276
const bitbucketProvider = await findBitbucketById(input.bitbucketId);
277277
const { owner, repo } = input;
278-
const url = `https://api.bitbucket.org/2.0/repositories/${owner}/${repo}/refs/branches`;
278+
const url = `https://api.bitbucket.org/2.0/repositories/${owner}/${repo}/refs/branches?pagelen=100`;
279279

280280
try {
281281
const response = await fetch(url, {

0 commit comments

Comments
 (0)