fixing bug with getting organizations

This commit is contained in:
metacryst
2026-01-13 13:30:00 -06:00
parent 6efc5b6f97
commit b0953f44fa
5 changed files with 22 additions and 8 deletions

View File

@@ -18,8 +18,10 @@ export default class Network {
})
.strict()
get(id) {
get(stringID) {
let id = stringID.split("-")[1]
let index = this.indices[0] + (id - 1)
console.log("networkget", index, id, global.db.nodes[index-1])
return global.db.nodes[index]
}