Skip to content

Commit 163dfb8

Browse files
authored
Merge branch 'main' into feature/user-error-middle-ware
2 parents 1f46804 + 1d814c5 commit 163dfb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_django/management/commands/graphql_schema.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def get_schema(self, schema, out, indent):
6363
if out == "-" or out == "-.json":
6464
self.stdout.write(json.dumps(schema_dict, indent=indent, sort_keys=True))
6565
elif out == "-.graphql":
66-
self.stdout.write(print_schema(schema))
66+
self.stdout.write(print_schema(schema.graphql_schema))
6767
else:
6868
# Determine format
6969
_, file_extension = os.path.splitext(out)

0 commit comments

Comments
 (0)