mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-09 22:55:02 +08:00
remove iscomms filter on getnodes
This commit is contained in:
parent
45b7f26dc7
commit
33f7ed52a3
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ func getAllNodes(w http.ResponseWriter, r *http.Request) {
|
|||
//Return all the nodes in JSON format
|
||||
logger.Log(3, r.Header.Get("user"), "fetched all nodes they have access to")
|
||||
w.WriteHeader(http.StatusOK)
|
||||
json.NewEncoder(w).Encode(filterCommsNodes(nodes))
|
||||
json.NewEncoder(w).Encode(nodes)
|
||||
}
|
||||
|
||||
func getUsersNodes(user models.User) ([]models.Node, error) {
|
||||
|
|
Loading…
Add table
Reference in a new issue