Skip to content

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

Create union of payment and checkout error code

Damian Wd54277cd850f
diff --git a/saleor/graphql/checkout/utils.py b/saleor/graphql/checkout/utils.py
index e0522644bc..ef3777672a 100644
--- a/saleor/graphql/checkout/utils.py
+++ b/saleor/graphql/checkout/utils.py
@@ -21,7 +21,7 @@ def clean_checkout_shipping(
{
"shipping_method": ValidationError(
"Shipping method is not set",
- code=error_code.SHIPPING_METHOD_NOT_SET
+ code=error_code.SHIPPING_METHOD_NOT_SET,
)
}
)
@@ -30,7 +30,7 @@ def clean_checkout_shipping(
{
"shipping_address": ValidationError(
"Shipping address is not set",
- code=error_code.SHIPPING_ADDRESS_NOT_SET
+ code=error_code.SHIPPING_ADDRESS_NOT_SET,
)
}
)