bug fixed
This commit is contained in:
parent
dd6246877d
commit
bc1abb010d
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func GetBranches(userName, reposName string) ([]string, error) {
|
|||
|
||||
brs := make([]string, len(refs))
|
||||
for i, ref := range refs {
|
||||
brs[i] = ref.Name
|
||||
brs[i] = ref.BranchName()
|
||||
}
|
||||
return brs, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue