diff options
| author | Adam Soltys <[email protected]> | 2022-07-25 21:45:41 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-07-25 21:45:41 -0700 |
| commit | 4aa1ad89a0e2d489bc6b85ab3291719e080757ad (patch) | |
| tree | ff2d9463f454bc6347be0f782ab1c5a29a1a23cb /src/routes/invoice.js | |
| parent | eb9a9c048ebcda09df0ba31745b9d9a5b543596f (diff) | |
| download | coinos-ui-4aa1ad89a0e2d489bc6b85ab3291719e080757ad.tar.gz coinos-ui-4aa1ad89a0e2d489bc6b85ab3291719e080757ad.zip | |
socket reconnection logic
Diffstat (limited to 'src/routes/invoice.js')
| -rw-r--r-- | src/routes/invoice.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/invoice.js b/src/routes/invoice.js index fa493fe1..49bcfe70 100644 --- a/src/routes/invoice.js +++ b/src/routes/invoice.js @@ -10,11 +10,11 @@ export async function GET({ params }) { }) .text(); - let body = await got + await got .post('http://localhost:3119/invoice', { json: { invoice: { text, network }, user: { username } } }) .json(); - return { body }; + return { body: { text } }; } |
