From de7435e34580e1a9b4b8d95b2a5013112414098f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 11 Feb 2025 13:40:05 -0800 Subject: default app on register --- lib/nwc.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/nwc.ts') diff --git a/lib/nwc.ts b/lib/nwc.ts index 2774b0d8..3f346b87 100644 --- a/lib/nwc.ts +++ b/lib/nwc.ts @@ -2,7 +2,7 @@ import config from "$config"; import { db, g } from "$lib/db"; import { generate } from "$lib/invoices"; import ln from "$lib/ln"; -import { err } from "$lib/logging"; +import { err, l } from "$lib/logging"; import { handleZap, serverPubkey } from "$lib/nostr"; import { sendInternal, sendKeysend, sendLightning } from "$lib/payments"; import { getInvoice, sleep } from "$lib/utils"; @@ -228,6 +228,7 @@ const handle = (method, params, ev, app, user) => async make_invoice() { const { amount, description, description_hash, expiry } = params; + l("nwc make_invoice", user.username); const invoice = { amount: Math.round(amount / 1000), -- cgit v1.2.3