summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mattermost/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mattermost/client.rb b/lib/mattermost/client.rb
index 2a0e4b400d3..8bbb2038772 100644
--- a/lib/mattermost/client.rb
+++ b/lib/mattermost/client.rb
@@ -9,7 +9,7 @@ module Mattermost
private
def with_session(&blk)
- Session.new(user).with_session(&blk)
+ Mattermost::Session.new(user).with_session(&blk)
end
def json_get(path, options = {})