diff options
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/users.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/users.ts b/routes/users.ts index 32ecebc4..f7912f4a 100644 --- a/routes/users.ts +++ b/routes/users.ts @@ -309,6 +309,7 @@ export default { const attributes = [ "about", + "accountIndex", "arkAddress", "autowithdraw", "banner", @@ -833,7 +834,7 @@ export default { for (const id of await db.lRange(`${user.id}:accounts`, 0, -1)) { const account = await g(`account:${id}`); if (account) { - if (account.seed && account.pubkey && !account.importedAt) { + if ((account.seed || user.seed) && account.pubkey && !account.importedAt) { await importAccountHistory(account); } account.balance = await getBalance(id); |
