Add notifications for new reports (#18697)

This commit is contained in:
Eugen Rochko
2022-06-27 09:30:15 +02:00
committed by GitHub
parent 602f291da9
commit 2936f42a14
18 changed files with 235 additions and 17 deletions

View File

@ -2,7 +2,7 @@
class REST::Admin::ReportSerializer < ActiveModel::Serializer
attributes :id, :action_taken, :action_taken_at, :category, :comment,
:created_at, :updated_at
:forwarded, :created_at, :updated_at
has_one :account, serializer: REST::Admin::AccountSerializer
has_one :target_account, serializer: REST::Admin::AccountSerializer