diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-03-21 20:43:26 +0300 |
---|---|---|
committer | Francisco Javier López <fjlopez@gitlab.com> | 2018-03-21 20:43:26 +0300 |
commit | 7509589b99420b5af1ca8ebaae5c42a07d94cce5 (patch) | |
tree | 71c3669b88d5cff06360f4e4c8ed5de886863557 /lib/mattermost | |
parent | 140cb0c092151636463a2222ce3fc2267f621d3a (diff) |
Adapting mattermost to the new way of calling HTTP
Diffstat (limited to 'lib/mattermost')
-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 a514ec15c2a..70663627e5d 100644 --- a/lib/mattermost/session.rb +++ b/lib/mattermost/session.rb @@ -83,7 +83,7 @@ module Mattermost def delete(path, options = {}) handle_exceptions do - self.class.delete(path, options.merge(headers: @headers)) + Gitlab::HTTP.delete(path, options.merge(headers: @headers)) end end |