Fixing request options to allow_local_requests with DELETE verb

This commit is contained in:
Francisco Javier López 2018-03-21 20:35:42 +01:00
parent 7509589b99
commit 4d0ec5b128
No known key found for this signature in database
GPG key ID: A12DF17E9D5DDF3C

View file

@ -83,7 +83,7 @@ module Mattermost
def delete(path, options = {})
handle_exceptions do
Gitlab::HTTP.delete(path, options.merge(headers: @headers))
Gitlab::HTTP.delete(path, build_options(options))
end
end