From 4b6883362463c3ddfb8c7a574b9beba5220d120b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 27 Dec 2022 13:45:55 -0800 Subject: broadcast profile settings to nostr --- src/lib/utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/utils.js') diff --git a/src/lib/utils.js b/src/lib/utils.js index d4d78007..43e77022 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -49,8 +49,7 @@ export const post = (url, body, headers) => { try { let { message } = JSON.parse(text); if (message) return JSON.stringify({ name: 'Error', message }); - } catch (e) { - } + } catch (e) {} return { error: text }; }) -- cgit v1.2.3