summaryrefslogtreecommitdiff
path: root/lib/api/ci/pipeline_schedules.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/ci/pipeline_schedules.rb')
-rw-r--r--lib/api/ci/pipeline_schedules.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/ci/pipeline_schedules.rb b/lib/api/ci/pipeline_schedules.rb
index 18caf85f109..b669acf668c 100644
--- a/lib/api/ci/pipeline_schedules.rb
+++ b/lib/api/ci/pipeline_schedules.rb
@@ -36,7 +36,7 @@ module API
requires :pipeline_schedule_id, type: Integer, desc: 'The pipeline schedule id'
end
get ':id/pipeline_schedules/:pipeline_schedule_id' do
- present pipeline_schedule, with: Entities::Ci::PipelineScheduleDetails
+ present pipeline_schedule, with: Entities::Ci::PipelineScheduleDetails, user: current_user
end
desc 'Create a new pipeline schedule' do