mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-23 16:44:04 -05:00
Fix typo in ActivityPub::FetchRemotePollService (#10145)
This commit is contained in:
parent
ae1b9cf70a
commit
878a75ba21
@ -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 New Issue
Block a user