summaryrefslogtreecommitdiff
path: root/lib/mattermost
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-03-21 20:35:42 +0100
committerFrancisco Javier López <fjlopez@gitlab.com>2018-03-21 20:35:42 +0100
commit4d0ec5b1284e45f9b927d354d6408cf174ad243b (patch)
treebb88024a01de8eaac63a4841f6ed31fbf672c5b5 /lib/mattermost
parent7509589b99420b5af1ca8ebaae5c42a07d94cce5 (diff)
downloadgitlab-ce-4d0ec5b1284e45f9b927d354d6408cf174ad243b.tar.gz
Fixing request options to allow_local_requests with DELETE verblatest-security-to-master-21-03-18
Diffstat (limited to 'lib/mattermost')
-rw-r--r--lib/mattermost/session.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mattermost/session.rb b/lib/mattermost/session.rb
index 70663627e5d..85f78e44f32 100644
--- a/lib/mattermost/session.rb
+++ b/lib/mattermost/session.rb
@@ -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