diff options
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/runners.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/runners.rb b/lib/api/runners.rb index 799c10a1897..f4f8f2f2247 100644 --- a/lib/api/runners.rb +++ b/lib/api/runners.rb @@ -87,8 +87,8 @@ module API # id (required) - The ID of the project # runner_id (required) - The ID of the runner # Example Request: - # PUT /projects/:id/runners/:runner_id - put ':id/runners/:runner_id' do + # POST /projects/:id/runners/:runner_id + post ':id/runners/:runner_id' do runner = get_runner(params[:runner_id]) can_enable_runner?(runner) Ci::RunnerProject.create(runner: runner, project: user_project) |