mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-24 10:37:47 +08:00
Finish create repo
This commit is contained in:
2
serve.go
2
serve.go
@ -123,7 +123,7 @@ func runServ(*cli.Context) {
|
||||
println("Repository", user.Name+"/"+repoName, "is not exist")
|
||||
return
|
||||
} else if isWrite {
|
||||
_, err := models.CreateRepository(user, repoName, "", "", false, true)
|
||||
_, err := models.CreateRepository(user, repoName, "", "", "", false, true)
|
||||
if err != nil {
|
||||
println("Create repository failed")
|
||||
return
|
||||
|
Reference in New Issue
Block a user