Commit 09197020 authored by Stan Hu's avatar Stan Hu
Browse files

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

parent 4ef6609620f6
......@@ -35,7 +35,7 @@ def repo(name)
end
def repos
path = "/repositories/#{user.username}"
path = "/repositories/#{user.username}?role=member"
get_collection(path, :repo)
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