diff options
| author | Adam Soltys <[email protected]> | 2026-02-13 21:07:55 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-13 21:08:04 -0800 |
| commit | c7c6ee7ba59467b8ddcfe8196b4f7586a864f3c0 (patch) | |
| tree | fccdf94755fb1b91c1de65e9d18f2f94742ebe09 /index.ts | |
| parent | b2b9fe837db7308285909ec1b374546194405d00 (diff) | |
| download | coinos-server-c7c6ee7ba59467b8ddcfe8196b4f7586a864f3c0.tar.gz coinos-server-c7c6ee7ba59467b8ddcfe8196b4f7586a864f3c0.zip | |
account level currency and autowithdraw settings
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ import { admin, auth, optional } from "$lib/auth"; import { fixBolt12, listenForLightning, replay } from "$lib/lightning"; import { startHealthCheck } from "$lib/health"; import { getLocations } from "$lib/locations"; -import { migrateAccounts, migrateBalancesToTB, migrateToMicrosats } from "$lib/migrate"; +import { migrateAccounts, migrateAutowithdraw, migrateBalancesToTB, migrateToMicrosats } from "$lib/migrate"; import nwc from "$lib/nwc"; import { catchUp, check } from "$lib/payments"; import { getFx } from "$lib/rates"; @@ -38,6 +38,7 @@ try { migrateAccounts().then((n) => n && console.log(`Migrated ${n} accounts`)); migrateBalancesToTB().then((n) => n && console.log(`Migrated ${n} balances to TB`)); migrateToMicrosats().then((n) => n && console.log(`Migrated ${n} users to microsats`)); + migrateAutowithdraw().then((n) => n && console.log(`Migrated autowithdraw to ${n} accounts`)); } catch (e) { console.log(e); } |
