summaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-11 00:53:53 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-11 00:53:53 -0400
commitb4727c7601d9ab30c4a9aa26a63cb0ce257e7d88 (patch)
treea42fab346f1b16943f75d24067945792e6f50804 /serve.go
parent5b5d54621e6b17e65e1df9227ca1bd5a66ce86db (diff)
downloadgitea-b4727c7601d9ab30c4a9aa26a63cb0ce257e7d88.tar.gz
gitea-b4727c7601d9ab30c4a9aa26a63cb0ce257e7d88.zip
Update create repo
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 83ce06e882..8ef5690b98 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, true, "")
+ _, err := models.CreateRepository(user, repoName, "", "", false, true)
if err != nil {
println("Create repository failed")
return