diff options
author | Stan Hu <stanhu@gmail.com> | 2018-07-18 23:15:24 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-18 23:15:24 -0700 |
commit | 9d59616b95889fc7f0f2ba84ba2c9d9de8205c71 (patch) | |
tree | a4ab110a1f8cd8c6f4eec514e5fd20be2e54da48 /lib/bitbucket_server | |
parent | 930ca2d599802ae0983770311b641080f23f056d (diff) | |
download | gitlab-ce-9d59616b95889fc7f0f2ba84ba2c9d9de8205c71.tar.gz |
Fix URL for deleting branches
Diffstat (limited to 'lib/bitbucket_server')
-rw-r--r-- | lib/bitbucket_server/connection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket_server/connection.rb b/lib/bitbucket_server/connection.rb index 13bbc240c99..3918944aa81 100644 --- a/lib/bitbucket_server/connection.rb +++ b/lib/bitbucket_server/connection.rb @@ -88,7 +88,7 @@ module BitbucketServer def delete_url(resource, path) if resource == :branches - "#{base_uri}/branch-utils/#{api_version}#{path}" + "#{base_uri}/rest/branch-utils/#{api_version}#{path}" else build_url(path) end |