diff options
author | ThibG <thib@sitedethib.com> | 2018-10-07 20:13:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-07 20:13:07 +0200 |
commit | f1c3053d36bec58e7b258384fd372c1e45252e1d (patch) | |
tree | 2d72b2608e4bffe1f36039fa81b059ea75c0c656 /app/controllers/api/v1 | |
parent | 7cc78431092edb0996372bc93bbc398a34af2395 (diff) | |
parent | 611740ce81486282dea650e2fbfa50baef58c1b3 (diff) |
Merge pull request #768 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r-- | app/controllers/api/v1/reports_controller.rb | 2 |
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 9c6ee0a50..726817927 100644 --- a/app/controllers/api/v1/reports_controller.rb +++ b/app/controllers/api/v1/reports_controller.rb @@ -22,7 +22,7 @@ class Api::V1::ReportsController < Api::BaseController private def reported_status_ids - Status.find(status_ids).pluck(:id) + reported_account.statuses.find(status_ids).pluck(:id) end def status_ids |