mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
Fix another typo in ActivityPub::FetchRemotePollService (#10146)
This commit is contained in:
parent
878a75ba21
commit
e6900b167b
@ -11,7 +11,7 @@ class ActivityPub::FetchRemotePollService < BaseService
|
|||||||
expires_at = begin
|
expires_at = begin
|
||||||
if @json['closed'].is_a?(String)
|
if @json['closed'].is_a?(String)
|
||||||
@json['closed']
|
@json['closed']
|
||||||
elsif !@json['closed'].nil? && !@object['closed'].is_a?(FalseClass)
|
elsif !@json['closed'].nil? && !@json['closed'].is_a?(FalseClass)
|
||||||
Time.now.utc
|
Time.now.utc
|
||||||
else
|
else
|
||||||
@json['endTime']
|
@json['endTime']
|
||||||
|
Loading…
Reference in New Issue
Block a user