Commit 2ec094d7 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'ajk-issue-placement-worker-add_project_id_argument' into 'master'

Add project_id argument to issue placement worker

See merge request gitlab-org/gitlab!42265
parents 0fa81515 6225318a
...@@ -13,7 +13,7 @@ class IssuePlacementWorker ...@@ -13,7 +13,7 @@ class IssuePlacementWorker
QUERY_LIMIT = 100 QUERY_LIMIT = 100
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
def perform(issue_id) def perform(issue_id, project_id = nil)
issue = Issue.id_in(issue_id).first issue = Issue.id_in(issue_id).first
return unless issue return unless issue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment