diff options
| author | Adam Soltys <[email protected]> | 2022-12-27 13:45:55 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-12-27 13:45:55 -0800 |
| commit | 4b6883362463c3ddfb8c7a574b9beba5220d120b (patch) | |
| tree | ff7a6388f015c0f6bd33478b1f0f50000a172a73 /src/lib/utils.js | |
| parent | 10c20c0c5b130c389680e37e4e4aba8e2abdbf1e (diff) | |
| download | coinos-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.js | 3 |
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 }; }) |
