worker-9 %!s(int64=4) %!d(string=hai) anos
pai
achega
20f8bc8214
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      controllers/networkHttpController.go

+ 1 - 2
controllers/networkHttpController.go

@@ -146,10 +146,9 @@ func getNetworks(w http.ResponseWriter, r *http.Request) {
 			}
 		}
 	}
-	networks := RemoveComms(allnetworks)
 	functions.PrintUserLog(r.Header.Get("user"), "fetched networks.", 2)
 	w.WriteHeader(http.StatusOK)
-	json.NewEncoder(w).Encode(networks)
+	json.NewEncoder(w).Encode(allnetworks)
 }
 
 func RemoveComms(networks []models.Network) []models.Network {