diff options
author | Stan Hu <stanhu@gmail.com> | 2016-12-09 15:17:13 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-12-09 15:17:13 -0800 |
commit | 091970208e0c8e7aefb6e7dcfafb4c81188c27cf (patch) | |
tree | c46100458eb45fe03444d2d5e1ef0d127d6620c8 /lib/bitbucket | |
parent | ff2193a3db558214fab90bb644be6967a03176a0 (diff) | |
download | gitlab-ce-091970208e0c8e7aefb6e7dcfafb4c81188c27cf.tar.gz |
Return repositories to which user is a member, not just owner
Diffstat (limited to 'lib/bitbucket')
-rw-r--r-- | lib/bitbucket/client.rb | 2 |
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 |