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)
|
reactions = @status.reactions(account_id)
|
||||||
ActiveModelSerializers::SerializableResource.new(
|
ActiveModelSerializers::SerializableResource.new(
|
||||||
reactions,
|
reactions,
|
||||||
each_serializer: REST::ReactionSerializer,
|
each_serializer: REST::StatusReactionSerializer,
|
||||||
scope: account_id, # terrible
|
scope: account_id, # terrible
|
||||||
scope_name: :current_user
|
scope_name: :current_user
|
||||||
).as_json
|
).as_json
|
||||||
|
|
Loading…
Reference in a new issue