mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
fix return value for network.NodesLastModified
This commit is contained in:
@@ -440,7 +440,7 @@ func getLastModified(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
w.WriteHeader(http.StatusOK)
|
||||
w.Write([]byte(string(network.NodesLastModified)))
|
||||
json.NewEncoder(w).Encode(network.NodesLastModified)
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user