diff options
| author | Adam Soltys <[email protected]> | 2024-09-18 12:29:20 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-18 12:29:20 -0700 |
| commit | 0b2f9a963ed2503ac611eab3d8bd5b640ebe08f2 (patch) | |
| tree | d6d41e5cedf76835dd491928ee0b58ede03a0fd6 /routes/nostr.ts | |
| parent | c28a1b61881c34fcc1228d4600f5bb4aa0b81b53 (diff) | |
| download | coinos-server-0b2f9a963ed2503ac611eab3d8bd5b640ebe08f2.tar.gz coinos-server-0b2f9a963ed2503ac611eab3d8bd5b640ebe08f2.zip | |
refactor nwc
Diffstat (limited to 'routes/nostr.ts')
| -rw-r--r-- | routes/nostr.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/nostr.ts b/routes/nostr.ts index 51b4e1ea..9bbff33d 100644 --- a/routes/nostr.ts +++ b/routes/nostr.ts @@ -1,6 +1,6 @@ import { bail, nada, getUser, uniq } from "$lib/utils"; import { g, db } from "$lib/db"; -import { pool, q, COINOS_PUBKEY } from "$lib/nostr"; +import { pool, q, serverPubkey } from "$lib/nostr"; export default { async event(req, res) { @@ -226,6 +226,6 @@ export default { }, async info(_, res) { - res.send({ pubkey: COINOS_PUBKEY }); + res.send({ pubkey: serverPubkey }); }, }; |
