aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-12-27 13:45:55 -0800
committerAdam Soltys <[email protected]>2022-12-27 13:45:55 -0800
commit4b6883362463c3ddfb8c7a574b9beba5220d120b (patch)
treeff7a6388f015c0f6bd33478b1f0f50000a172a73 /src/lib/utils.js
parent10c20c0c5b130c389680e37e4e4aba8e2abdbf1e (diff)
downloadcoinos-ui-4b6883362463c3ddfb8c7a574b9beba5220d120b.tar.gz
coinos-ui-4b6883362463c3ddfb8c7a574b9beba5220d120b.zip
broadcast profile settings to nostr
Diffstat (limited to 'src/lib/utils.js')
-rw-r--r--src/lib/utils.js3
1 files changed, 1 insertions, 2 deletions
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 };
})