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 5bf44f4540..0c0584cd91 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)
+ _, err := models.CreateRepository(user, repoName, "", false)
if err != nil {
println("Create repository failed")
return