Skip to content

Commit

Permalink
Fix typo in ActivityPub::FetchRemotePollService (#10145)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron committed Mar 3, 2019
1 parent ae1b9cf commit 878a75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/activitypub/fetch_remote_poll_service.rb
Expand Up @@ -11,7 +11,7 @@ def call(poll, on_behalf_of = nil)
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']
Expand Down

0 comments on commit 878a75b

Please sign in to comment.