Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix bad error code value
Aleksander Spyra484420bda0ba
diff --git a/saleor/graphql/core/utils/__init__.py b/saleor/graphql/core/utils/__init__.pyindex fe7f9af57d..456627a793 100644--- a/saleor/graphql/core/utils/__init__.py+++ b/saleor/graphql/core/utils/__init__.py@@ -46,8 +46,7 @@ def from_global_id_strict_type(raise ValidationError({field: ValidationError(- "Couldn't resolve to a node: %s" % global_id,- code="object_does_not_exist",+ "Couldn't resolve to a node: %s" % global_id, code="not_found")}) from exc