|
|
@@ -104,7 +104,7 @@ public class CommitServiceImpl implements CommitService {
|
|
|
List<CommitVO> allCommits = new ArrayList<CommitVO>();
|
|
|
|
|
|
try{
|
|
|
- List<com.nju.edu.gitlab.vo.commit.CommitVO> commitsResponse = seecoderGitlabApi.getCommitsByBranch(projectId, "master");
|
|
|
+ List<com.nju.edu.gitlab.vo.commit.CommitVO> commitsResponse = seecoderGitlabApi.getCommitsByBranch(projectId, BranchName);
|
|
|
for (com.nju.edu.gitlab.vo.commit.CommitVO commit : commitsResponse){
|
|
|
CommitVO commitVO = new CommitVO(commit);
|
|
|
CommitPO commitPO = commitMapper.selectByCommitId(commitVO.getId());
|