Skip to content

Commit

Permalink
Fix another typo in ActivityPub::FetchRemotePollService (mastodon#10146)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored and hiyuki2578 committed Oct 2, 2019
1 parent 01f27c5 commit f3d2575
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 !@json['closed'].nil? && !@object['closed'].is_a?(FalseClass)
elsif !@json['closed'].nil? && !@json['closed'].is_a?(FalseClass)
Time.now.utc
else
@json['endTime']
Expand Down

0 comments on commit f3d2575

Please sign in to comment.