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 | ff6ef6d8e3e546fb2396bcac74383cb460c04b58 (patch) | |
| tree | ff7a6388f015c0f6bd33478b1f0f50000a172a73 /src/lib/utils.js | |
| parent | 32dacb775fc3e2fa8efcc6d0be352ec50f244482 (diff) | |
| download | coinos-ui-ff6ef6d8e3e546fb2396bcac74383cb460c04b58.tar.gz coinos-ui-ff6ef6d8e3e546fb2396bcac74383cb460c04b58.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 }; }) |
