Browse Source

bug squashin

worker-9 4 years ago
parent
commit
20f8bc8214
1 changed files with 1 additions and 2 deletions
  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 {