Do cache space members in member_cache

This commit is contained in:
Cadence Ember
2025-01-20 02:33:24 +13:00
parent f42eb6495f
commit 5b06d5984a
9 changed files with 40 additions and 52 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ function userToSimName(user) {
}
// 1. Is sim user already registered?
const existing = select("sim", "sim_name", {user_id: user.id}).pluck().get()
const existing = select("sim", "user_id", {user_id: user.id}).pluck().get()
assert.equal(existing, null, "Shouldn't try to create a new name for an existing sim")
// 2. Register based on username (could be new or old format)