Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
execveat committed Jun 21, 2024
1 parent 35f1da0 commit 9522bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gqlspection/GQLSchema.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def generate_query(self, name, depth=4):

def generate_mutation(self, name, depth=4):
if type(name) == text_type:
field = self.query.fields[name]
field = self.mutation.fields[name]
else:
field = name
return gqlspection.GQLQuery(self.mutation, 'mutation', fields=[field], depth=depth)
Expand Down

0 comments on commit 9522bb7

Please sign in to comment.