mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: repo length
This commit is contained in:
parent
9b255964fe
commit
682863f83e
@ -225,7 +225,7 @@ export const getBitbucketRepositories = async (bitbucketId?: string) => {
|
||||
const username =
|
||||
bitbucketProvider.bitbucketWorkspaceName ||
|
||||
bitbucketProvider.bitbucketUsername;
|
||||
const url = `https://api.bitbucket.org/2.0/repositories/${username}`;
|
||||
const url = `https://api.bitbucket.org/2.0/repositories/${username}?pagelen=100`;
|
||||
|
||||
try {
|
||||
const response = await fetch(url, {
|
||||
@ -244,6 +244,8 @@ export const getBitbucketRepositories = async (bitbucketId?: string) => {
|
||||
|
||||
const data = await response.json();
|
||||
|
||||
console.log(data.values);
|
||||
|
||||
const mappedData = data.values.map((repo: any) => {
|
||||
return {
|
||||
name: repo.name,
|
||||
|
Loading…
Reference in New Issue
Block a user