diff options
| author | Adam Soltys <[email protected]> | 2026-03-03 21:40:58 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-03 21:40:58 -0800 |
| commit | 55ae58daf23028fa0f647f7bb2b4b0f8cd751de7 (patch) | |
| tree | 49f4031b81352bea5c963d4201250f24ee8bd2dd /routes/users.ts | |
| parent | 9507e040a03834f7d603c5c13a1f69ae6ef48b3a (diff) | |
| download | coinos-server-55ae58daf23028fa0f647f7bb2b4b0f8cd751de7.tar.gz coinos-server-55ae58daf23028fa0f647f7bb2b4b0f8cd751de7.zip | |
sync vault
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 6948fb28..027d836e 100644 --- a/routes/users.ts +++ b/routes/users.ts @@ -894,7 +894,7 @@ export default { await importAccountHistory(account); } - if (account.type === PaymentType.ark) { + if (account.type === PaymentType.ark || (account.pubkey && account.fingerprint)) { const paymentIds = (await db.lRange(`${aid}:payments`, 0, -1)) as string[]; const paymentKeys = paymentIds.map((pid) => `payment:${pid}`); const payments = await gfAll(paymentKeys); |
