summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-07-18 23:15:24 -0700
committerStan Hu <stanhu@gmail.com>2018-07-18 23:15:24 -0700
commit9d59616b95889fc7f0f2ba84ba2c9d9de8205c71 (patch)
treea4ab110a1f8cd8c6f4eec514e5fd20be2e54da48 /lib
parent930ca2d599802ae0983770311b641080f23f056d (diff)
downloadgitlab-ce-9d59616b95889fc7f0f2ba84ba2c9d9de8205c71.tar.gz
Fix URL for deleting branches
Diffstat (limited to 'lib')
-rw-r--r--lib/bitbucket_server/connection.rb2
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