Commit 09197020 authored by Stan Hu's avatar Stan Hu

Return repositories to which user is a member, not just owner

parent ff2193a3
...@@ -35,7 +35,7 @@ module Bitbucket ...@@ -35,7 +35,7 @@ module Bitbucket
end end
def repos def repos
path = "/repositories/#{user.username}" path = "/repositories/#{user.username}?role=member"
get_collection(path, :repo) get_collection(path, :repo)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment