Skip to content

Commit

Permalink
Using correct version check
Browse files Browse the repository at this point in the history
  • Loading branch information
zzooeeyy committed Mar 27, 2024
1 parent c1468e9 commit 43311b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/shopify_app/callback_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def callback

return respond_with_user_token_flow if start_user_token_flow?(api_session)

if ShopifyAPI::VERSION < "23.0"
if ShopifyApp::VERSION < "23.0"
# deprecated in 23.0
if ShopifyApp.configuration.custom_post_authenticate_tasks.present?
ShopifyApp.configuration.post_authenticate_tasks.perform(api_session)
Expand Down

0 comments on commit 43311b2

Please sign in to comment.