From c7c6ee7ba59467b8ddcfe8196b4f7586a864f3c0 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 13 Feb 2026 21:07:55 -0800 Subject: account level currency and autowithdraw settings --- index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.ts') diff --git a/index.ts b/index.ts index 507e62f4..9e7beefd 100644 --- a/index.ts +++ b/index.ts @@ -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); } -- cgit v1.2.3