Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hanzel <mhanzel@gitlab.com>2019-06-10 22:15:14 +0300
committerMartin Hanzel <mhanzel@gitlab.com>2019-06-10 22:15:14 +0300
commitdc29536f3539428a54ffdfdbe2921ff4da1f2d4e (patch)
treed8b9e0cbf4a9dfe522c301b68f47bc9df004350d /app/workers/todos_destroyer/confidential_issue_worker.rb
parenteaac8810e6659964f60234c802ed44fa3da74d00 (diff)
parent502cbda11ba0c6d798b243ab6f489cd73c7bdeea (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.rb4
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