Fixing request options to allow_local_requests with DELETE verb

parent 7509589b
...@@ -83,7 +83,7 @@ module Mattermost ...@@ -83,7 +83,7 @@ module Mattermost
def delete(path, options = {}) def delete(path, options = {})
handle_exceptions do handle_exceptions do
Gitlab::HTTP.delete(path, options.merge(headers: @headers)) Gitlab::HTTP.delete(path, build_options(options))
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment