summaryrefslogtreecommitdiff
path: root/lib/api/runner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/runner.rb')
-rw-r--r--lib/api/runner.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/api/runner.rb b/lib/api/runner.rb
index 2b85eb8ea68..2bcf487fa38 100644
--- a/lib/api/runner.rb
+++ b/lib/api/runner.rb
@@ -223,8 +223,7 @@ module API
Gitlab::CurrentSettings.current_application_settings.default_artifacts_expire_in
if job.save
- status :created
- #present job, with: Entities::JobRequest::Response
+ present job, with: Entities::JobRequest::Response
else
render_validation_error!(job)
end