Skip to content

Commit

Permalink
Fix typo in ActivityPub::FetchRemotePollService (mastodon#10145)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored Mar 3, 2019
1 parent 21da58e commit 1284bc4
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 !@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 1284bc4

Please sign in to comment.