From 3ea7d30f9404302c3906c22790c5a648d4826167 Mon Sep 17 00:00:00 2001
From: Mathilde Hertaas <maimh@stud.ntnu.no>
Date: Sat, 1 Mar 2025 17:54:17 +0100
Subject: [PATCH] cities included in info endpoint finished

---
 main.go | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/main.go b/main.go
index c90d8ac..afb7d60 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,
-- 
GitLab