From a862079c3695c25b4c6b0e7708e89a74e489c06c Mon Sep 17 00:00:00 2001 From: Tim Anema Date: Thu, 12 Sep 2019 09:36:57 -0400 Subject: [PATCH] Small consistency change --- lib/shopify_api/session.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shopify_api/session.rb b/lib/shopify_api/session.rb index 997922159..cf26139e9 100644 --- a/lib/shopify_api/session.rb +++ b/lib/shopify_api/session.rb @@ -104,7 +104,7 @@ def request_token(params) raise ShopifyAPI::ValidationException, "Invalid Signature: Possible malicious login" end - response = access_token_request(params['code']) + response = access_token_request(params[:code]) if response.code == "200" self.extra = JSON.parse(response.body) self.token = extra.delete('access_token')