mirror of
https://github.com/gravitl/netmaker.git
synced 2026-01-06 19:05:07 +08:00
removed filter
This commit is contained in:
parent
b803daa3c2
commit
a2392721e9
1 changed files with 2 additions and 1 deletions
|
|
@ -68,9 +68,10 @@ func getNetworks(w http.ResponseWriter, r *http.Request) {
|
|||
allnetworks[i] = net
|
||||
}
|
||||
}
|
||||
|
||||
logger.Log(2, r.Header.Get("user"), "fetched networks.")
|
||||
w.WriteHeader(http.StatusOK)
|
||||
json.NewEncoder(w).Encode(filterCommsNetwork(allnetworks))
|
||||
json.NewEncoder(w).Encode(allnetworks)
|
||||
}
|
||||
|
||||
// Simple get network function
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue