lib/ably/rest/client.rb in ably-0.8.11 vs lib/ably/rest/client.rb in ably-0.8.12
- old
+ new
@@ -374,10 +374,10 @@
def reauthorise_on_authorisation_failure
yield
rescue Ably::Exceptions::TokenExpired => e
if auth.token_renewable?
- auth.authorise({}, force: true)
+ auth.authorise(nil, force: true)
yield
else
raise e
end
end