summaryrefslogtreecommitdiff
path: root/lib/bitbucket
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-12-09 15:28:49 -0800
committerStan Hu <stanhu@gmail.com>2016-12-09 15:28:49 -0800
commit1d7f85aeef624a83f0b225217a23c8f5189cde54 (patch)
tree5ef79842f38ab027fb171c00b66039fb76f8ccb7 /lib/bitbucket
parent091970208e0c8e7aefb6e7dcfafb4c81188c27cf (diff)
downloadgitlab-ce-1d7f85aeef624a83f0b225217a23c8f5189cde54.tar.gz
Fix query for importing all projects for member
Diffstat (limited to 'lib/bitbucket')
-rw-r--r--lib/bitbucket/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket/client.rb b/lib/bitbucket/client.rb
index a9f405e659b..5c2ef2a4509 100644
--- a/lib/bitbucket/client.rb
+++ b/lib/bitbucket/client.rb
@@ -35,7 +35,7 @@ module Bitbucket
end
def repos
- path = "/repositories/#{user.username}?role=member"
+ path = "/repositories?role=member"
get_collection(path, :repo)
end