diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-22 04:44:57 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-22 04:44:57 -0400 |
commit | 932f717adb1cb1738415fcddaf5eb3c0e4a60fc2 (patch) | |
tree | 60a13dd51c6016901f0f262b00635efa25bf1a93 /serve.go | |
parent | f219ddcf4ef13b9d5de129da4eb2b56dbc899d61 (diff) | |
download | gitea-932f717adb1cb1738415fcddaf5eb3c0e4a60fc2.tar.gz gitea-932f717adb1cb1738415fcddaf5eb3c0e4a60fc2.zip |
Fixing bug
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -86,7 +86,7 @@ func runServ(*cli.Context) { os.Setenv("userName", user.Name) os.Setenv("userId", strconv.Itoa(int(user.Id))) - repo, err := models.GetRepositoryByName(user, repoName) + repo, err := models.GetRepositoryByName(user.Id, repoName) if err != nil { println("Unavilable repository", err) return |