Skip to content

Commit 6e3b190

Browse files
committed
Fix misspelled variable name in the validate module
1 parent 8ab1b56 commit 6e3b190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graphql/type/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def validate_types(self):
201201
# Ensure all provided types are in fact GraphQL type.
202202
if not is_named_type(type_):
203203
self.report_error(
204-
f"Expected GraphQL named type but got: {inspect(type)}.",
204+
f"Expected GraphQL named type but got: {inspect(type_)}.",
205205
type_.ast_node if type_ else None,
206206
)
207207
continue

0 commit comments

Comments
 (0)