summaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
Diffstat (limited to 'serve.go')
-rw-r--r--serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/serve.go b/serve.go
index 0c0584cd91..83ce06e882 100644
--- a/serve.go
+++ b/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)
+ _, err := models.CreateRepository(user, repoName, "", false, true, "")
if err != nil {
println("Create repository failed")
return