]> cat aescling's git repositories - mastodon.git/commitdiff
Fix ActivityPub::UpdateDistributionWorker regression (#8039)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 16 Jul 2018 16:43:22 +0000 (18:43 +0200)
committerGitHub <noreply@github.com>
Mon, 16 Jul 2018 16:43:22 +0000 (18:43 +0200)
Regression from #7998 let to profile updates not sending

app/workers/activitypub/update_distribution_worker.rb

index 87efafb3e8bcb384ce416a5b5478cb475fe5f443..bbda6930596c00fd25fc020e30c0658d4e1db0f3 100644 (file)
@@ -34,6 +34,6 @@ class ActivityPub::UpdateDistributionWorker
       @account,
       serializer: ActivityPub::UpdateSerializer,
       adapter: ActivityPub::Adapter
-    ).to_json
+    ).as_json
   end
 end