about summary refs log tree commit diff
path: root/app/serializers
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-06-28 12:11:45 +0200
committerThibaut Girka <thib@sitedethib.com>2019-06-28 12:11:45 +0200
commitc8ba75b963e7a3e2c7ae0a3a3723686e7ea1bd37 (patch)
tree7ef03bb037ed4d1baa08e684393d9a185249dbbe /app/serializers
parent6ad870a410c7379eb8f3e719f3ad217354691546 (diff)
parentca8944728f4568bbef8edae99382cd44cbc144d6 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/activitypub/update_poll_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/activitypub/update_poll_serializer.rb b/app/serializers/activitypub/update_poll_serializer.rb
index b894f309f..1d47b9764 100644
--- a/app/serializers/activitypub/update_poll_serializer.rb
+++ b/app/serializers/activitypub/update_poll_serializer.rb
@@ -14,7 +14,7 @@ class ActivityPub::UpdatePollSerializer < ActivityPub::Serializer
   end
 
   def actor
-    ActivityPub::TagManager.instance.uri_for(object)
+    ActivityPub::TagManager.instance.uri_for(object.account)
   end
 
   def to