Browse Source

Fix capitalisation of repo-name in news (#3203)

use 'official' repo.Name instead of incoming repoName; to enforce
correct capitalisation
tags/v1.21.12.1
SjonHortensius 无闻 9 years ago
parent
commit
17a4d8a5e5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/action.go

+ 1
- 1
models/action.go View File

@@ -489,7 +489,7 @@ func CommitRepoAction(
Content: string(bs),
RepoID: repo.ID,
RepoUserName: repoUserName,
RepoName: repoName,
RepoName: repo.Name,
RefName: refName,
IsPrivate: repo.IsPrivate,
}); err != nil {


Loading…
Cancel
Save