mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 17:20:53 +02:00
Fix capitalisation of repo-name in news (#3203)
use 'official' repo.Name instead of incoming repoName; to enforce correct capitalisation
This commit is contained in:
1 parent
04592c385b
commit
17a4d8a5e5
1 file changed
+1
-1
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user