Skip to content

Commit 2b1bcb2

Browse files
authored
Fix another typo in ActivityPub::FetchRemotePollService (mastodon#10146)
1 parent 1284bc4 commit 2b1bcb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/services/activitypub/fetch_remote_poll_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def call(poll, on_behalf_of = nil)
1111
expires_at = begin
1212
if @json['closed'].is_a?(String)
1313
@json['closed']
14-
elsif !@json['closed'].nil? && !@object['closed'].is_a?(FalseClass)
14+
elsif !@json['closed'].nil? && !@json['closed'].is_a?(FalseClass)
1515
Time.now.utc
1616
else
1717
@json['endTime']

0 commit comments

Comments
 (0)