diff options
author | Stan Hu <stanhu@gmail.com> | 2018-07-19 09:15:24 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-19 09:15:24 +0300 |
commit | 9d59616b95889fc7f0f2ba84ba2c9d9de8205c71 (patch) | |
tree | a4ab110a1f8cd8c6f4eec514e5fd20be2e54da48 /lib/bitbucket_server/connection.rb | |
parent | 930ca2d599802ae0983770311b641080f23f056d (diff) |
Fix URL for deleting branches
Diffstat (limited to 'lib/bitbucket_server/connection.rb')
-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 |