fix return value for network.NodesLastModified

This commit is contained in:
Matthew R Kasun
2021-04-28 11:12:48 -04:00
parent 8248baac0b
commit 3a702ab3f5

View File

@@ -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)
}