Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.0 on 2022-01-18 at 14:00 UTC+1 (a few minutes of down time)

Commit 3b9d1c0f authored by Stan Hu's avatar Stan Hu
Browse files

Fix refresh to lazily load connection

parent 3133bf050549
......@@ -45,8 +45,7 @@ def refresh!
@expires_at = response.expires_at
@expires_in = response.expires_in
@refresh_token = response.refresh_token
@connection =, @token, refresh_token: @refresh_token, expires_at: @expires_at, expires_in: @expires_in)
@connection = nil
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment