Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Ensure shop is always returned
dominik-zeglen00fd18ad83fc
diff --git a/saleor/graphql/shop/schema.py b/saleor/graphql/shop/schema.pyindex 790cf9adae..4bfa9b96e9 100644--- a/saleor/graphql/shop/schema.py+++ b/saleor/graphql/shop/schema.py@@ -17,7 +17,9 @@ from .types import Shopclass ShopQueries(graphene.ObjectType):- shop = graphene.Field(Shop, description="Return information about the shop.")+ shop = graphene.Field(+ Shop, description="Return information about the shop.", required=True+ )def resolve_shop(self, _info):return Shop()