mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-11 12:43:01 +02:00
Do cache space members in member_cache
This commit is contained in:
parent
f42eb6495f
commit
5b06d5984a
9 changed files with 40 additions and 52 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue