Fix another typo in ActivityPub::FetchRemotePollService (#10146)

th-downstream
Eugen Rochko 6 years ago committed by GitHub
parent 1bbbc31cc0
commit 1c6a9a6ea8

@ -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']

Loading…
Cancel
Save