about summary refs log tree commit diff
path: root/app/controllers/api/v1/reports_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api/v1/reports_controller.rb')
-rw-r--r--app/controllers/api/v1/reports_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/reports_controller.rb b/app/controllers/api/v1/reports_controller.rb
index f266f5828..734a0d89e 100644
--- a/app/controllers/api/v1/reports_controller.rb
+++ b/app/controllers/api/v1/reports_controller.rb
@@ -21,7 +21,7 @@ class Api::V1::ReportsController < Api::BaseController
   private
 
   def reported_status_ids
-    reported_account.statuses.find(status_ids).pluck(:id)
+    reported_account.statuses.with_discarded.find(status_ids).pluck(:id)
   end
 
   def status_ids