mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-29 13:03:56 +03:00
Fixed tests
This commit is contained in:
parent
f9b48b0fe8
commit
6537154d9f
|
@ -50,7 +50,7 @@ class Query(graphene.ObjectType):
|
|||
type_name = 'core.Query'
|
||||
|
||||
@resolve_only_args
|
||||
def resolve_hero(self, episode):
|
||||
def resolve_hero(self, episode=None):
|
||||
return wrap_character(getHero(episode))
|
||||
|
||||
@resolve_only_args
|
||||
|
|
Loading…
Reference in New Issue
Block a user