aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-07-26 23:37:18 -0700
committerAdam Soltys <[email protected]>2022-07-26 23:42:48 -0700
commitcd9e850f9e15e890727026942d646d59f526fe4e (patch)
treee730dae8f2f0dcd14db634ea331ffecde6ce333e /src/lib/utils.js
parentcf7278f54bac6b0dc048df41d92e1cdcf18c2840 (diff)
downloadcoinos-ui-cd9e850f9e15e890727026942d646d59f526fe4e.tar.gz
coinos-ui-cd9e850f9e15e890727026942d646d59f526fe4e.zip
fix invoice endpoint
Diffstat (limited to 'src/lib/utils.js')
-rw-r--r--src/lib/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils.js b/src/lib/utils.js
index 5b1bba7f..c17b0a98 100644
--- a/src/lib/utils.js
+++ b/src/lib/utils.js
@@ -11,4 +11,4 @@ export const post = (url, body) =>
method: 'POST',
body: JSON.stringify(body),
headers: { accept: 'application/json', 'content-type': 'application/json' }
- }).then((r) => r.json);
+ }).then((r) => r.json());