Fix typo in ActivityPub::FetchRemotePollService (#10145)

pull/934/head
Eugen Rochko 2019-03-04 00:50:56 +01:00 committed by GitHub
parent ae1b9cf70a
commit 878a75ba21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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