diff options
Diffstat (limited to 'routes/users.ts')
| -rw-r--r-- | routes/users.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/users.ts b/routes/users.ts index eeb764ec..83303aa9 100644 --- a/routes/users.ts +++ b/routes/users.ts @@ -597,7 +597,7 @@ export default { let { user } = req; let accounts = []; - for (let id of await db.lRange(`${user.id}:accounts`, 0, 1)) { + for (let id of await db.lRange(`${user.id}:accounts`, 0, -1)) { let account = await g(`account:${id}`); account.balance = await g(`balance:${id}`); |
