summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-07-03 16:33:53 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-07-03 16:33:53 +0200
commit4eebf9600e43cf6b0abffe0ffcde20cffc9b2800 (patch)
tree9e28e2f942c94048a66c776ae5ced28ac22bc341 /lib/api/helpers.rb
parent4cb9b752c2c342ba0e1ec650cad0aef9ca9fbc33 (diff)
parent8c6b1b6ec20deebd247aee9bb61e7113bf029dca (diff)
downloadgitlab-ci-4eebf9600e43cf6b0abffe0ffcde20cffc9b2800.tar.gz
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ci
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