diff options
Diffstat (limited to 'app/workers/incident_management')
-rw-r--r-- | app/workers/incident_management/close_incident_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/incident_management/close_incident_worker.rb b/app/workers/incident_management/close_incident_worker.rb index 6b3e1c5321b..c820a8a97bf 100644 --- a/app/workers/incident_management/close_incident_worker.rb +++ b/app/workers/incident_management/close_incident_worker.rb @@ -14,7 +14,7 @@ module IncidentManagement worker_has_external_dependencies! def perform(issue_id) - incident = Issue.incident.opened.find_by_id(issue_id) + incident = Issue.with_issue_type(:incident).opened.find_by_id(issue_id) return unless incident |