Skip to content

Commit

Permalink
rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
qen committed Jul 19, 2024
1 parent ad896f4 commit b7feec0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/zoho_hub/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def refresh_token!
was_locked = @mutex.locked?
@mutex.synchronize do
next if was_locked

params = ZohoHub::Auth.refresh_token(@refresh_token)
@on_refresh_cb.call(params) if @on_refresh_cb
@access_token = params[:access_token] unless @access_token.respond_to?(:call)
Expand Down

0 comments on commit b7feec0

Please sign in to comment.