diff options
| author | Adam Soltys <[email protected]> | 2025-02-11 13:40:05 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-02-11 13:40:05 -0800 |
| commit | de7435e34580e1a9b4b8d95b2a5013112414098f (patch) | |
| tree | 97074cadf3a63512c2c5f554a3083924fd046b74 /lib/nwc.ts | |
| parent | 8add46c0975686ce0967c2c38514a31aad6ee8cb (diff) | |
| download | coinos-server-de7435e34580e1a9b4b8d95b2a5013112414098f.tar.gz coinos-server-de7435e34580e1a9b4b8d95b2a5013112414098f.zip | |
default app on register
Diffstat (limited to 'lib/nwc.ts')
| -rw-r--r-- | lib/nwc.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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), |
