Fix OfferNodeType initialization error
All checks were successful
Build Docker Image / build (push) Successful in 1m19s

Remove supplier_name field from OfferNodeType constructor in resolve_nearest_offers - this field does not exist in the type definition and causes 400 errors.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Ruslan Bakiev
2026-01-25 20:49:22 +07:00
parent 5363b113cf
commit 56df2ab37b

View File

@@ -1486,7 +1486,6 @@ class Query(graphene.ObjectType):
product_uuid=node.get('product_uuid'), product_uuid=node.get('product_uuid'),
product_name=node.get('product_name'), product_name=node.get('product_name'),
supplier_uuid=node.get('supplier_uuid'), supplier_uuid=node.get('supplier_uuid'),
supplier_name=node.get('supplier_name'),
latitude=node.get('latitude'), latitude=node.get('latitude'),
longitude=node.get('longitude'), longitude=node.get('longitude'),
country=node.get('country'), country=node.get('country'),