diff options
author | Martin Hanzel <mhanzel@gitlab.com> | 2019-06-10 22:15:14 +0300 |
---|---|---|
committer | Martin Hanzel <mhanzel@gitlab.com> | 2019-06-10 22:15:14 +0300 |
commit | dc29536f3539428a54ffdfdbe2921ff4da1f2d4e (patch) | |
tree | d8b9e0cbf4a9dfe522c301b68f47bc9df004350d /app/workers/todos_destroyer/confidential_issue_worker.rb | |
parent | eaac8810e6659964f60234c802ed44fa3da74d00 (diff) | |
parent | 502cbda11ba0c6d798b243ab6f489cd73c7bdeea (diff) |
Merge branch 'master' into mh/mocks-docmh/mocks-doc
Diffstat (limited to 'app/workers/todos_destroyer/confidential_issue_worker.rb')
-rw-r--r-- | app/workers/todos_destroyer/confidential_issue_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/todos_destroyer/confidential_issue_worker.rb b/app/workers/todos_destroyer/confidential_issue_worker.rb index 481fde8c83d..240a5f98ad5 100644 --- a/app/workers/todos_destroyer/confidential_issue_worker.rb +++ b/app/workers/todos_destroyer/confidential_issue_worker.rb @@ -5,8 +5,8 @@ module TodosDestroyer include ApplicationWorker include TodosDestroyerQueue - def perform(issue_id) - ::Todos::Destroy::ConfidentialIssueService.new(issue_id).execute + def perform(issue_id = nil, project_id = nil) + ::Todos::Destroy::ConfidentialIssueService.new(issue_id: issue_id, project_id: project_id).execute end end end |