File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11module OmniAuth
22 module OAuth2
3- VERSION = "1.4.0"
3+ VERSION = "1.4.0" . freeze
44 end
55end
Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ def query_string
5656
5757 credentials do
5858 hash = { "token" => access_token . token }
59- hash . merge! ( "refresh_token" => access_token . refresh_token ) if access_token . expires? && access_token . refresh_token
60- hash . merge! ( "expires_at" => access_token . expires_at ) if access_token . expires?
61- hash . merge! ( "expires" => access_token . expires? )
59+ hash [ "refresh_token" ] = access_token . refresh_token if access_token . expires? && access_token . refresh_token
60+ hash [ "expires_at" ] = access_token . expires_at if access_token . expires?
61+ hash [ "expires" ] = access_token . expires?
6262 hash
6363 end
6464
You can’t perform that action at this time.
0 commit comments