diff options
author | ThibG <thib@sitedethib.com> | 2019-06-27 19:41:55 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-06-27 19:41:55 +0200 |
commit | 9a90ec3b3be655170077a18ad2fe81ade1498d76 (patch) | |
tree | 4e4d513425068ac4d14a2f63dd529ab30ec2e062 /app/serializers | |
parent | a02f4b7cd47783bb1938e7e7e81e966657b1c5e6 (diff) |
Fix account URI in UpdatePollSerializer (#11194)
* Fix account URI in UpdatePollSerializer Fixes #11185 * Add specs
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/activitypub/update_poll_serializer.rb | 2 |
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 |