about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/services/activitypub/fetch_remote_poll_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/activitypub/fetch_remote_poll_service.rb b/app/services/activitypub/fetch_remote_poll_service.rb
index c87a2f84d..1dd587d73 100644
--- a/app/services/activitypub/fetch_remote_poll_service.rb
+++ b/app/services/activitypub/fetch_remote_poll_service.rb
@@ -33,6 +33,7 @@ class ActivityPub::FetchRemotePollService < BaseService
     poll.votes.delete_all if latest_options != poll.options
 
     poll.update!(
+      last_fetched_at: Time.now.utc,
       expires_at: expires_at,
       options: latest_options,
       cached_tallies: items.map { |item| item.dig('replies', 'totalItems') || 0 }