diff options
Diffstat (limited to 'src/routes/(static)/docs')
| -rw-r--r-- | src/routes/(static)/docs/+page.svelte | 12 |
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> |
