diff --git a/source/app/blueprints/graphql/graphql_route.py b/source/app/blueprints/graphql/graphql_route.py index f66b4b27e..02fc1d643 100644 --- a/source/app/blueprints/graphql/graphql_route.py +++ b/source/app/blueprints/graphql/graphql_route.py @@ -37,7 +37,7 @@ class Query(ObjectType): # starting with the conversion of '/manage/cases/filter' cases = List(lambda: CaseObject, description='Retrieves cases') - def resolve_cases(self, info): + def resolve_cases(root, info): # TODO add all parameters to filter return get_filtered_cases(current_user.id)