You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SessionRepository#delete_session is using the actual model classes (User, Shop) when destroying records.
We shouldn't be doing this since other apps might not use the same models.
Issue summary
SessionRepository#delete_session
is using the actual model classes (User
,Shop
) when destroying records.We shouldn't be doing this since other apps might not use the same models.
In code:
shopify_api
version: latestshopify_app
version: latest (21.6.0)Expected behavior
Proxy through
SessionRepository.user_storage
orSessionRepository.shop_storage
similar toload_session
andstore_session
.Actual behavior
We should not be using the
Shop
orUser
models directly since it might not exist on other applications.The text was updated successfully, but these errors were encountered: