diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-03-21 22:35:42 +0300 |
---|---|---|
committer | Francisco Javier López <fjlopez@gitlab.com> | 2018-03-21 22:35:42 +0300 |
commit | 4d0ec5b1284e45f9b927d354d6408cf174ad243b (patch) | |
tree | bb88024a01de8eaac63a4841f6ed31fbf672c5b5 | |
parent | 7509589b99420b5af1ca8ebaae5c42a07d94cce5 (diff) |
Fixing request options to allow_local_requests with DELETE verb
-rw-r--r-- | lib/mattermost/session.rb | 2 |
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 |