mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 20:59:29 +02:00
Fix to use only needed columns from tables to get repository git paths (#3870)
This commit is contained in:
1 parent
9ec7f6b954
commit
5ffdf9388b
2 files changed
+48
-4
No files matched your search
+1
-1
@@ -67,7 +67,7 @@ func WikiPath(userName, repoName string) string {
|
||||
|
||||
// WikiPath returns wiki data path for given repository.
|
||||
func (repo *Repository) WikiPath() string {
|
||||
return WikiPath(repo.MustOwner().Name, repo.Name)
|
||||
return WikiPath(repo.MustOwnerName(), repo.Name)
|
||||
}
|
||||
|
||||
// HasWiki returns true if repository has wiki.
|
||||
|
||||
Reference in new issue
Block a user