Fix typo in ActivityPub::FetchRemotePollService (#10145)
This commit is contained in:
parent
952045604c
commit
1bbbc31cc0
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue