aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(static)/docs
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-10-16 15:34:26 -0700
committerAdam Soltys <[email protected]>2023-10-16 15:34:26 -0700
commit829c2efb9c4415c64466988f1e189184ffb88478 (patch)
tree23f9e5fd83be3d4ee3943d254e4d3d2ce194819a /src/routes/(static)/docs
parent16475fffdb0d20a2933cfaf6922afc7c137bb7fe (diff)
parent0212fe0032eb0c5d6bfb74ebaab42543b73d6d6b (diff)
downloadcoinos-ui-829c2efb9c4415c64466988f1e189184ffb88478.tar.gz
coinos-ui-829c2efb9c4415c64466988f1e189184ffb88478.zip
Merge branch 'master' into swapee
Diffstat (limited to 'src/routes/(static)/docs')
-rw-r--r--src/routes/(static)/docs/+page.svelte12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/routes/(static)/docs/+page.svelte b/src/routes/(static)/docs/+page.svelte
index 3313e279..34f7344d 100644
--- a/src/routes/(static)/docs/+page.svelte
+++ b/src/routes/(static)/docs/+page.svelte
@@ -30,10 +30,11 @@
{#if user && token}
This token authorizes you to use the API as <b>{user.username}</b>.
{:else}
- <a href="/login" class="font-bold">Sign in</a> to view your auth token here, or get one from the /login endpoint.
+ <a href="/login" class="font-bold">Sign in</a> to view your auth token here, or get one from the
+ /login endpoint.
{/if}
- Save it in a variable called <b>$token</b> to run the examples.
+ Save it in a variable called <b>$token</b> to run the examples.
</p>
<div class="bg-black text-white rounded-lg p-4 flex gap-4">
@@ -68,18 +69,17 @@
</div>
</div>
- <p>Get a lightning invoice to receive funds</p>
+ <p>Get a lightning invoice to receive funds</p>
<Code sample="lightningInvoice" />
- <p>Get a bitcoin address to receive funds</p>
+ <p>Get a bitcoin address to receive funds</p>
<Code sample="bitcoinAddress" />
<p>Sample response</p>
<Code sample="invoiceResponse" />
<p>You can check the <b>received</b> field to see how much has been paid</p>
-
- <p>Specify a webhook to be called when an invoice is paid</p>
+ <p>Specify a webhook to be called when an invoice is paid</p>
<Code sample="webhook" />
<h2 class="text-2xl">GET /invoice/:hash</h2>