Update create repo
This commit is contained in:
parent
5b5d54621e
commit
b4727c7601
5 changed files with 34 additions and 30 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue