mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-05 03:56:43 +08:00
merge
This commit is contained in:
2
serve.go
2
serve.go
@ -106,7 +106,7 @@ func runServ(k *cli.Context) {
|
||||
|
||||
//os.Setenv("userName", user.Name)
|
||||
//os.Setenv("userId", strconv.Itoa(int(user.Id)))
|
||||
repo, err := models.GetRepositoryByName(user, repoName)
|
||||
repo, err := models.GetRepositoryByName(user.Id, repoName)
|
||||
var isExist bool = true
|
||||
if err != nil {
|
||||
if err == models.ErrRepoNotExist {
|
||||
|
Reference in New Issue
Block a user