0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-24 15:19:18 -05:00

bug fixed

This commit is contained in:
Lunny Xiao 2014-03-27 14:00:23 +08:00
parent dd6246877d
commit bc1abb010d

View file

@ -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
}