diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-25 06:11:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-25 06:11:41 +0300 |
commit | 48a0a54a619b86f9b8664c76a9776068507b7d0e (patch) | |
tree | 887e314dcb24703431589bb27f992671bdc60e0f /lib | |
parent | 9453027136630bf0bfcde55dafdcdd6830877649 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/commit_statuses.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/commit_statuses.rb b/lib/api/commit_statuses.rb index e785d10f7e7..7a198f30e38 100644 --- a/lib/api/commit_statuses.rb +++ b/lib/api/commit_statuses.rb @@ -161,7 +161,7 @@ module API def all_matching_pipelines pipelines = user_project.ci_pipelines.newest_first(sha: commit.sha) pipelines = pipelines.for_ref(params[:ref]) if params[:ref] - pipelines = pipelines.for_id(params[:pipeline_id]) if params[:pipeline_id] + pipelines = pipelines.id_in(params[:pipeline_id]) if params[:pipeline_id] pipelines end |