Change AccountRelationshipSeveranceEvent
model to store lost followers and following counts separately (#29714)
This commit is contained in:
parent
34f293475e
commit
dfa43707eb
7 changed files with 30 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class REST::AccountRelationshipSeveranceEventSerializer < ActiveModel::Serializer
|
||||
attributes :id, :type, :purged, :target_name, :created_at
|
||||
attributes :id, :type, :purged, :target_name, :followers_count, :following_count, :created_at
|
||||
|
||||
def id
|
||||
object.id.to_s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue