fix: migrate geo GraphQL queries and frontend to camelCase
All checks were successful
Build Docker Image / build (push) Successful in 5m0s
All checks were successful
Build Docker Image / build (push) Successful in 5m0s
Geo backend was migrated to camelCase but frontend .graphql files and component code still used snake_case, causing 400 errors on all geo API calls.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
query NearestHubs($lat: Float!, $lon: Float!, $radius: Float, $productUuid: String, $limit: Int) {
|
||||
nearest_hubs(
|
||||
nearestHubs(
|
||||
lat: $lat
|
||||
lon: $lon
|
||||
radius: $radius
|
||||
product_uuid: $productUuid
|
||||
productUuid: $productUuid
|
||||
limit: $limit
|
||||
) {
|
||||
uuid
|
||||
@@ -11,7 +11,7 @@ query NearestHubs($lat: Float!, $lon: Float!, $radius: Float, $productUuid: Stri
|
||||
latitude
|
||||
longitude
|
||||
country
|
||||
country_code
|
||||
transport_types
|
||||
countryCode
|
||||
transportTypes
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user