mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-01 05:22:50 +09:00
Update CreateRepository
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)
|
||||
_, err := models.CreateRepository(user, repoName, "", false)
|
||||
if err != nil {
|
||||
println("Create repository failed")
|
||||
return
|
||||
|
Reference in New Issue
Block a user