From a311401e50cbc70f5d613097607cb55466aa4061 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 21 Feb 2023 08:25:42 -0800 Subject: prettier --- lib/db.js | 6 +++--- lib/nostr.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/db.js b/lib/db.js index cc9c3919..05917645 100644 --- a/lib/db.js +++ b/lib/db.js @@ -17,11 +17,11 @@ export let g = async k => { }; export let s = (k, v) => { if (k === "user:null") { - warn("###### NULL USER #######") + warn("###### NULL USER #######"); console.trace(); - } + } db.set(k, JSON.stringify(v)); -} +}; let retries = {}; export let t = async (k, f) => { diff --git a/lib/nostr.js b/lib/nostr.js index 2eb59ae7..604d207d 100644 --- a/lib/nostr.js +++ b/lib/nostr.js @@ -46,7 +46,7 @@ export let fillPool = () => { if (uid) ev.recipient = await g(`user:${uid}`); ev.author = ev.user; emit(uid, "event", ev); - } + } } } else if (sub.includes("profile")) { let { pubkey } = ev; -- cgit v1.2.3