Skip to content

Commit b217c94

Browse files
authored
nc
1 parent 6f00da0 commit b217c94

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

backend/api/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Query(graphene.ObjectType):
1919
all_posts = graphene.List(PostType)
2020
post = graphene.Field(PostType, post_id=graphene.Int())
2121
all_authors = graphene.List(AuthorType)
22-
author = graphene.Field(AuthorType, author_id_id=graphene.Int())
22+
author = graphene.Field(AuthorType, author_id=graphene.Int())
2323

2424
def resolve_all_posts(self, info, **kwargs):
2525
return Post.objects.all()
@@ -153,4 +153,4 @@ class Mutation(graphene.ObjectType):
153153
delete_author = DeleteAuthor.Field()
154154

155155

156-
schema = graphene.Schema(query=Query, mutation=Mutation)
156+
schema = graphene.Schema(query=Query, mutation=Mutation)

0 commit comments

Comments
 (0)