diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-23 16:43:31 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-23 16:43:31 +0800 |
commit | 5c57a06c51ab17d18dcd3a8aeb81858e22b7236b (patch) | |
tree | aff44c1f3d9ba0bc550a95442414eec76d69cfcf /serve.go | |
parent | 1201c6a9b4897736650a4b416451aa521024b899 (diff) | |
parent | 1a16b3e99a0be7dbfeba1e683d253a22db5d1af5 (diff) | |
download | gitea-5c57a06c51ab17d18dcd3a8aeb81858e22b7236b.tar.gz gitea-5c57a06c51ab17d18dcd3a8aeb81858e22b7236b.zip |
merge
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |