Commit 70c33ddb authored by 黎博's avatar 黎博

修改获取分支的数量

parent d563f17d
...@@ -13,3 +13,5 @@ Dockerfile ...@@ -13,3 +13,5 @@ Dockerfile
*.heapsnapshot *.heapsnapshot
.eslintrc.json .eslintrc.json
.DS_Store
...@@ -157,7 +157,7 @@ const gitBranch = async (svcName) => { ...@@ -157,7 +157,7 @@ const gitBranch = async (svcName) => {
} }
}) })
const branchInfo = await awaitRequest({ const branchInfo = await awaitRequest({
url: `http://${proConfig.git_lab}/api/${version}/projects/${projectId}/repository/branches?private_token=${token}&per_page=100`, url: `http://${proConfig.git_lab}/api/${version}/projects/${projectId}/repository/branches?private_token=${token}&per_page=200`,
method: 'GET', method: 'GET',
}) })
return branchInfo return branchInfo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment