diff --git a/geo_app/schema.py b/geo_app/schema.py index 1487622..5ed64ad 100644 --- a/geo_app/schema.py +++ b/geo_app/schema.py @@ -1561,7 +1561,7 @@ class Query(graphene.ObjectType): # Calculate route to hub if hub_uuid provided if hub_uuid: - route_result = self.resolve_offer_to_hub(info, node['_key'], hub_uuid) + route_result = Query.resolve_offer_to_hub(Query, info, node['_key'], hub_uuid) if route_result and route_result.routes: routes = route_result.routes diff --git a/tests/__pycache__/__init__.cpython-313.pyc b/tests/__pycache__/__init__.cpython-313.pyc new file mode 100644 index 0000000..4d9e8a9 Binary files /dev/null and b/tests/__pycache__/__init__.cpython-313.pyc differ diff --git a/tests/__pycache__/test_graphql_endpoints.cpython-313-pytest-9.0.2.pyc b/tests/__pycache__/test_graphql_endpoints.cpython-313-pytest-9.0.2.pyc new file mode 100644 index 0000000..c1df1bc Binary files /dev/null and b/tests/__pycache__/test_graphql_endpoints.cpython-313-pytest-9.0.2.pyc differ