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
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ module Bitbucket
end
def repos
path = "/repositories/#{user.username}"
path = "/repositories/#{user.username}?role=member"
get_collection(path, :repo)
end