Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
nits
Adam Janik3ca7b538082d
diff --git a/saleor/graphql/core/mutations.py b/saleor/graphql/core/mutations.pyindex 2a92e5c0b4..e50b4ced06 100644--- a/saleor/graphql/core/mutations.py+++ b/saleor/graphql/core/mutations.py@@ -123,7 +123,7 @@ class ModelMutation(BaseMutation):# handle list of IDs fieldif value is not None and isinstance(field.type, graphene.List) and (- field.type.of_type == graphene.ID):+ field.type.of_type == graphene.ID):instances = get_nodes(value) if value else []cleaned_input[field_name] = instances@@ -156,7 +156,7 @@ class ModelMutation(BaseMutation):for f in opts.fields:if not f.editable or isinstance(- f, models.AutoField) or f.name not in cleaned_data:+ f, models.AutoField) or f.name not in cleaned_data:continueelse:f.save_form_data(instance, cleaned_data[f.name])diff --git a/saleor/graphql/order/mutations/orders.py b/saleor/graphql/order/mutations/orders.pyindex 3a3a4963d2..eac718f310 100644--- a/saleor/graphql/order/mutations/orders.py+++ b/saleor/graphql/order/mutations/orders.py@@ -136,7 +136,6 @@ class OrderMarkAsPaid(BaseMutation):class Meta:description = 'Mark order as manually paid.'-order = graphene.Field(Order, description='Order marked as paid.')