Fix: resolve_offer_to_hub call in resolve_nearest_offers (self is None in graphene)
All checks were successful
Build Docker Image / build (push) Successful in 1m26s
All checks were successful
Build Docker Image / build (push) Successful in 1m26s
This commit is contained in:
@@ -1561,7 +1561,7 @@ class Query(graphene.ObjectType):
|
|||||||
|
|
||||||
# Calculate route to hub if hub_uuid provided
|
# Calculate route to hub if hub_uuid provided
|
||||||
if hub_uuid:
|
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:
|
if route_result and route_result.routes:
|
||||||
routes = route_result.routes
|
routes = route_result.routes
|
||||||
|
|
||||||
|
|||||||
BIN
tests/__pycache__/__init__.cpython-313.pyc
Normal file
BIN
tests/__pycache__/__init__.cpython-313.pyc
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user