Updated deprecated variable name from format_error to GraphQLFormattedError

This commit is contained in:
Alex Ismodes 2022-04-09 08:37:39 -05:00 committed by GitHub
parent f6ec0689c1
commit dfb1894fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ from django.views.decorators.csrf import ensure_csrf_cookie
from django.views.generic import View
from graphql import OperationType, get_operation_ast, parse, validate
from graphql.error import GraphQLError
from graphql.error import format_error as format_graphql_error
from graphql.error import GraphQLFormattedError as format_graphql_error
from graphql.execution import ExecutionResult
from graphene import Schema