Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-12-10 02:17:13 +0300
committerStan Hu <stanhu@gmail.com>2016-12-10 02:17:13 +0300
commit091970208e0c8e7aefb6e7dcfafb4c81188c27cf (patch)
treec46100458eb45fe03444d2d5e1ef0d127d6620c8 /lib/bitbucket
parentff2193a3db558214fab90bb644be6967a03176a0 (diff)
Return repositories to which user is a member, not just owner
Diffstat (limited to 'lib/bitbucket')
-rw-r--r--lib/bitbucket/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket/client.rb b/lib/bitbucket/client.rb
index e23da4556aa..a9f405e659b 100644
--- a/lib/bitbucket/client.rb
+++ b/lib/bitbucket/client.rb
@@ -35,7 +35,7 @@ module Bitbucket
end
def repos
- path = "/repositories/#{user.username}"
+ path = "/repositories/#{user.username}?role=member"
get_collection(path, :repo)
end