summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r--lib/api/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index d768624..cff5920 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -9,7 +9,7 @@ module API
options = {
private_token: (params[PRIVATE_TOKEN_PARAM] || env[PRIVATE_TOKEN_HEADER])
}
- UserSession.new.authenticate_by_token(options)
+ UserSession.new.authenticate(options)
end
end