aboutsummaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-23 16:43:31 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-23 16:43:31 +0800
commit5c57a06c51ab17d18dcd3a8aeb81858e22b7236b (patch)
treeaff44c1f3d9ba0bc550a95442414eec76d69cfcf /serve.go
parent1201c6a9b4897736650a4b416451aa521024b899 (diff)
parent1a16b3e99a0be7dbfeba1e683d253a22db5d1af5 (diff)
downloadgitea-5c57a06c51ab17d18dcd3a8aeb81858e22b7236b.tar.gz
gitea-5c57a06c51ab17d18dcd3a8aeb81858e22b7236b.zip
merge
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 b786c54356..54296049d5 100644
--- a/serve.go
+++ b/serve.go
@@ -106,7 +106,7 @@ func runServ(k *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)
var isExist bool = true
if err != nil {
if err == models.ErrRepoNotExist {