Hydrate reactions on streaming API
This commit is contained in:
parent
2ab563e06c
commit
68aea0d2f5
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class StatusCacheHydrator
|
|||
reactions = @status.reactions(account_id)
|
||||
ActiveModelSerializers::SerializableResource.new(
|
||||
reactions,
|
||||
each_serializer: REST::ReactionSerializer,
|
||||
each_serializer: REST::StatusReactionSerializer,
|
||||
scope: account_id, # terrible
|
||||
scope_name: :current_user
|
||||
).as_json
|
||||
|
|
Loading…
Reference in a new issue