From 68aea0d2f521a08bc0752161919d1d97f281933e Mon Sep 17 00:00:00 2001 From: Essem Date: Fri, 9 Feb 2024 17:39:07 -0600 Subject: [PATCH] Hydrate reactions on streaming API --- app/lib/status_cache_hydrator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/status_cache_hydrator.rb b/app/lib/status_cache_hydrator.rb index e3c9e49847..20e3c7544e 100644 --- a/app/lib/status_cache_hydrator.rb +++ b/app/lib/status_cache_hydrator.rb @@ -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