Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update CreateToken mutation to use NonNull on errors field
Gabriel L Martinez2c50d153ccb8
diff --git a/saleor/graphql/core/mutations.py b/saleor/graphql/core/mutations.pyindex 22ebf8bb87..5c79c9d0b8 100644--- a/saleor/graphql/core/mutations.py+++ b/saleor/graphql/core/mutations.py@@ -587,7 +587,7 @@ class CreateToken(ObtainJSONWebToken):the mutation works."""- errors = graphene.List(Error, required=True)+ errors = graphene.List(graphene.NonNull(Error), required=True)user = graphene.Field(User)@classmethod