mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: repo length
This commit is contained in:
@@ -225,7 +225,7 @@ export const getBitbucketRepositories = async (bitbucketId?: string) => {
|
|||||||
const username =
|
const username =
|
||||||
bitbucketProvider.bitbucketWorkspaceName ||
|
bitbucketProvider.bitbucketWorkspaceName ||
|
||||||
bitbucketProvider.bitbucketUsername;
|
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 {
|
try {
|
||||||
const response = await fetch(url, {
|
const response = await fetch(url, {
|
||||||
@@ -244,6 +244,8 @@ export const getBitbucketRepositories = async (bitbucketId?: string) => {
|
|||||||
|
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
|
||||||
|
console.log(data.values);
|
||||||
|
|
||||||
const mappedData = data.values.map((repo: any) => {
|
const mappedData = data.values.map((repo: any) => {
|
||||||
return {
|
return {
|
||||||
name: repo.name,
|
name: repo.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user