diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-10 19:29:44 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-11 20:02:09 +0300 |
commit | 8cdd54cc0696b76daa2baf463d02d944b50bac6a (patch) | |
tree | eb3e5c1aeef92181b49217c965685e5b9ba67c74 /lib/ci/api/runners.rb | |
parent | e80e3f5372d6bcad1fbe04a85b3086bb66794828 (diff) |
Add runners token
Diffstat (limited to 'lib/ci/api/runners.rb')
-rw-r--r-- | lib/ci/api/runners.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/api/runners.rb b/lib/ci/api/runners.rb index dd77bd65863..1e738a73157 100644 --- a/lib/ci/api/runners.rb +++ b/lib/ci/api/runners.rb @@ -36,7 +36,7 @@ module Ci tag_list: params[:tag_list], is_shared: true ) - elsif project = Project.find_by(token: params[:token]) + elsif project = Project.find_by(runners_token: params[:token]) # Create a specific runner for project. project.ci_runners.create( description: params[:description], |