about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-04 00:52:18 +0100
committerGitHub <noreply@github.com>2019-03-04 00:52:18 +0100
commite6900b167b046c846d1276f5bf86b675542bc09b (patch)
tree29d8bf386cf59ca9c0b75af6b34b97dbb5a94072 /app
parent878a75ba215e061c91516057f79a5dc96b84f426 (diff)
Fix another typo in ActivityPub::FetchRemotePollService (#10146)
Diffstat (limited to 'app')
-rw-r--r--app/services/activitypub/fetch_remote_poll_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/activitypub/fetch_remote_poll_service.rb b/app/services/activitypub/fetch_remote_poll_service.rb
index 3701f8339..c87a2f84d 100644
--- a/app/services/activitypub/fetch_remote_poll_service.rb
+++ b/app/services/activitypub/fetch_remote_poll_service.rb
@@ -11,7 +11,7 @@ class ActivityPub::FetchRemotePollService < BaseService
     expires_at = begin
       if @json['closed'].is_a?(String)
         @json['closed']
-      elsif !@json['closed'].nil? && !@object['closed'].is_a?(FalseClass)
+      elsif !@json['closed'].nil? && !@json['closed'].is_a?(FalseClass)
         Time.now.utc
       else
         @json['endTime']