Skip to content

Commit 511daf9

Browse files
committed
Cleanup
1 parent 11f0dea commit 511daf9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/shopify_api/auth/oauth.rb

-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class << self
2020
).returns(T::Hash[Symbol, T.any(String, SessionCookie)])
2121
end
2222
def begin_auth(shop:, redirect_path:, is_online: true, scope: ShopifyAPI::Context.scope)
23-
binding.pry if scope.nil? || scope.to_a.empty?
2423
unless Context.setup?
2524
raise Errors::ContextNotSetupError, "ShopifyAPI::Context not setup, please call ShopifyAPI::Context.setup"
2625
end
@@ -30,7 +29,6 @@ def begin_auth(shop:, redirect_path:, is_online: true, scope: ShopifyAPI::Contex
3029

3130
cookie = SessionCookie.new(value: state, expires: Time.now + 60)
3231

33-
# binding.pry
3432
query = {
3533
client_id: ShopifyAPI::Context.api_key,
3634
scope: scope.to_s,

0 commit comments

Comments
 (0)