summaryrefslogtreecommitdiff
path: root/lib/bitbucket_server
diff options
context:
space:
mode:
authorGeorge Koltsov <gkoltsov@gitlab.com>2019-08-02 16:46:41 +0100
committerGeorge Koltsov <gkoltsov@gitlab.com>2019-08-12 11:16:17 +0100
commit91353779bfab544f3439cfdff9c6d0db1357166f (patch)
tree0429f7b4212877bc375dff529c5c1a035a7e8cb7 /lib/bitbucket_server
parent1c2554bfd38fc455be16116f6a8cf7700c8db62b (diff)
downloadgitlab-ce-91353779bfab544f3439cfdff9c6d0db1357166f.tar.gz
Add changelog entry
Diffstat (limited to 'lib/bitbucket_server')
-rw-r--r--lib/bitbucket_server/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket_server/client.rb b/lib/bitbucket_server/client.rb
index d1661fe92ba..cf55c692271 100644
--- a/lib/bitbucket_server/client.rb
+++ b/lib/bitbucket_server/client.rb
@@ -25,7 +25,7 @@ module BitbucketServer
def repos(page_offset: 0, limit: nil, filter: nil)
path = "/repos"
- path += "?q=name=#{filter}" if filter
+ path += "?name=#{filter}" if filter
get_collection(path, :repo, page_offset: page_offset, limit: limit)
end