Browse Source

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

use 'official' repo.Name instead of incoming repoName; to enforce
correct capitalisation
pull/3136/head
SjonHortensius 9 years ago committed by 无闻
parent
commit
17a4d8a5e5
  1. 2
      models/action.go

2
models/action.go

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

Loading…
Cancel
Save