From 5d4c6b904fde0c23b622722ae993be8c2d50f7ab Mon Sep 17 00:00:00 2001 From: Hanna Chen Date: Tue, 26 Apr 2022 13:10:00 -0400 Subject: [PATCH] Revert "check for `is_online` for online tokens" This reverts commit 7cd7bae7972c5df28f0cac4195c5df0f9abaa09b. --- app/controllers/shopify_app/callback_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/shopify_app/callback_controller.rb b/app/controllers/shopify_app/callback_controller.rb index a42a1b852..5867b3092 100644 --- a/app/controllers/shopify_app/callback_controller.rb +++ b/app/controllers/shopify_app/callback_controller.rb @@ -55,7 +55,7 @@ def respond_with_user_token_flow def start_user_token_flow?(shopify_session) return false unless ShopifyApp::SessionRepository.user_storage.present? - return false if shopify_session.is_online? + return false if shopify_session.online? update_user_access_scopes? end