The previous query was returning all matching areas for the {city} parameter, which could cause problems if the city name was used in multiple locations. This commit modifies the query to use the [1] operator in the area parameter, which ensures that only the first matching area is returned. This improves the reliability and accuracy of the query results.
The previous query was returning all matching areas for the
{city}
parameter, which could cause problems if the city name was used in multiple locations. This commit modifies the query to use the[1]
operator in thearea
parameter, which ensures that only the first matching area is returned. This improves the reliability and accuracy of the query results.Issue: #8