Skip to content

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

Fix mypy

Michał Sipa5cf6353a6a6d
diff --git a/saleor/graphql/core/mutations.py b/saleor/graphql/core/mutations.py
index c4a094672f..1ebdc87fa1 100644
--- a/saleor/graphql/core/mutations.py
+++ b/saleor/graphql/core/mutations.py
@@ -611,7 +611,7 @@ class CreateToken(ObtainJSONWebToken):
@classmethod
def handle_errors(cls, error: ValidationError, **extra):
errors = validation_error_to_error_type(error)
- return cls.handle_typed_errors(errors, **extra)
+ return cls.handle_typed_errors(errors)
@classmethod
def handle_typed_errors(cls, errors: list):