feat: bitbucket branch length

This commit is contained in:
Shaun Janssens 2025-03-04 10:50:42 +01:00
parent 5db7508530
commit 62fae661a1

View File

@ -275,7 +275,7 @@ export const getBitbucketBranches = async (
}
const bitbucketProvider = await findBitbucketById(input.bitbucketId);
const { owner, repo } = input;
const url = `https://api.bitbucket.org/2.0/repositories/${owner}/${repo}/refs/branches`;
const url = `https://api.bitbucket.org/2.0/repositories/${owner}/${repo}/refs/branches?pagelen=100`;
try {
const response = await fetch(url, {