summaryrefslogtreecommitdiff
path: root/lib/ci/api/runners.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ci/api/runners.rb')
-rw-r--r--lib/ci/api/runners.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ci/api/runners.rb b/lib/ci/api/runners.rb
index 2a611a67eaf..c1fd959ef14 100644
--- a/lib/ci/api/runners.rb
+++ b/lib/ci/api/runners.rb
@@ -8,6 +8,8 @@ module Ci
end
delete "delete" do
authenticate_runner!
+
+ status(200)
Ci::Runner.find_by_token(params[:token]).destroy
end