diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-29 14:11:15 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-29 14:11:34 +0000 |
commit | 222fda90362a3be9e54323af32234d038b99908d (patch) | |
tree | 9678d10e85608009dfe340c635f979e1e2bcc3a6 /lib | |
parent | 4279c892b46b4a9de9f0580cf011173e716ebf6c (diff) | |
download | gitlab-ce-222fda90362a3be9e54323af32234d038b99908d.tar.gz |
Add latest changes from gitlab-org/security/gitlab@15-1-stable-ee
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/ci/runners.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/ci/runners.rb b/lib/api/ci/runners.rb index 7863cfd1e79..06bfee59140 100644 --- a/lib/api/ci/runners.rb +++ b/lib/api/ci/runners.rb @@ -128,7 +128,7 @@ module API runner = get_runner(params[:id]) authenticate_list_runners_jobs!(runner) - jobs = ::Ci::RunnerJobsFinder.new(runner, params).execute + jobs = ::Ci::RunnerJobsFinder.new(runner, current_user, params).execute present paginate(jobs), with: Entities::Ci::JobBasicWithProject end |