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

This commit is contained in:
Stan Hu 2016-12-09 15:17:13 -08:00
parent ff2193a3db
commit 091970208e

View file

@ -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