about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-16 18:43:22 +0200
committerGitHub <noreply@github.com>2018-07-16 18:43:22 +0200
commit7e2678f7f66fbdb215b89378e2a1b7d9e3901fc0 (patch)
tree20595542ddacd4688e0ab889ce886fec58398d2e
parenta23ac107e4f9cc46a95d8e2dca6a5056dbcce39d (diff)
Fix ActivityPub::UpdateDistributionWorker regression (#8039)
Regression from #7998 let to profile updates not sending
-rw-r--r--app/workers/activitypub/update_distribution_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/activitypub/update_distribution_worker.rb b/app/workers/activitypub/update_distribution_worker.rb
index 87efafb3e..bbda69305 100644
--- a/app/workers/activitypub/update_distribution_worker.rb
+++ b/app/workers/activitypub/update_distribution_worker.rb
@@ -34,6 +34,6 @@ class ActivityPub::UpdateDistributionWorker
       @account,
       serializer: ActivityPub::UpdateSerializer,
       adapter: ActivityPub::Adapter
-    ).to_json
+    ).as_json
   end
 end