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 Mar 3, 2019
1 parent 1284bc4 commit 2b1bcb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/activitypub/fetch_remote_poll_service.rb
Original file line number Diff line number Diff line change
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 2b1bcb2

Please sign in to comment.