diff --git a/main.go b/main.go index c90d8ac0f1aafe70c7fa2969e7a2570df5631971..afb7d6093c2103e7362b439eb61992add8df50c5 100644 --- a/main.go +++ b/main.go @@ -197,12 +197,6 @@ func countryInfoHandler(w http.ResponseWriter, r *http.Request) { if len(cities) == 0 { fmt.Printf("No cities found for %s\n", country.Name.Common) } - - // Begrens byene til maks 10 - if len(cities) > 10 { - cities = cities[:10] - } - // Bygg kombinert respons response := CombinedInfo{ Name: country.Name.Common,