Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove unecessary else after return

Pacu2b07db362e680
diff --git a/saleor/graphql/order/mutations/fulfillments.py b/saleor/graphql/order/mutations/fulfillments.py
index 0f5f32ed41..f821417f98 100644
--- a/saleor/graphql/order/mutations/fulfillments.py
+++ b/saleor/graphql/order/mutations/fulfillments.py
@@ -93,9 +93,8 @@ class FulfillmentCreate(BaseMutation):
cls.clean_lines(order_lines, quantities, errors)
if errors:
return cls(errors=errors)
- else:
- input['order_lines'] = order_lines
- input['quantities'] = quantities
+ input['order_lines'] = order_lines
+ input['quantities'] = quantities
return input
@classmethod