diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-04 00:50:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-04 00:50:56 +0100 |
commit | 878a75ba215e061c91516057f79a5dc96b84f426 (patch) | |
tree | 4fcd51af4dfa9313788bd32cf79c27ba99f6b00d /app/services | |
parent | ae1b9cf70a5c7426054947bef8cc836fd402c173 (diff) |
Fix typo in ActivityPub::FetchRemotePollService (#10145)
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/activitypub/fetch_remote_poll_service.rb | 2 |
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 2f40625d6..3701f8339 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 !@object['closed'].nil? && !@object['closed'].is_a?(FalseClass) + elsif !@json['closed'].nil? && !@object['closed'].is_a?(FalseClass) Time.now.utc else @json['endTime'] |