We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9d4961 commit 0903ac4Copy full SHA for 0903ac4
lib/omniauth-oauth2/version.rb
@@ -1,5 +1,5 @@
1
module OmniAuth
2
module OAuth2
3
- VERSION = "1.4.0"
+ VERSION = "1.4.0".freeze
4
end
5
lib/omniauth/strategies/oauth2.rb
@@ -56,9 +56,9 @@ def query_string
56
57
credentials do
58
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?)
+ hash["refresh_token"] = access_token.refresh_token if access_token.expires? && access_token.refresh_token
+ hash["expires_at"] = access_token.expires_at if access_token.expires?
+ hash["expires"] = access_token.expires?
62
hash
63
64
0 commit comments