Skip to content

Commit 354fedc

Browse files
committed
prettier/black
1 parent 817472c commit 354fedc

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

lnbits/extensions/events/views_api.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ async def api_ticket_send_ticket(event_id, payment_hash, data: CreateTicket):
133133

134134
if not ticket:
135135
raise HTTPException(
136-
status_code=HTTPStatus.NOT_FOUND, detail=f"Event could not be fetched."
136+
status_code=HTTPStatus.NOT_FOUND,
137+
detail=f"Event could not be fetched.",
137138
)
138139

139140
return {"paid": True, "ticket_id": ticket.id}

lnbits/extensions/lnurlpayout/templates/lnurlpayout/_api_docs.html

+1-7
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44
label="API info"
55
:content-inset-level="0.5"
66
>
7-
<q-btn
8-
flat
9-
label="Swagger API"
10-
type="a"
11-
href="../docs#/lnurlpayout"
12-
></q-btn>
7+
<q-btn flat label="Swagger API" type="a" href="../docs#/lnurlpayout"></q-btn>
138
<q-expansion-item group="api" dense expand-separator label="List lnurlpayout">
149
<q-card>
1510
<q-card-section>
@@ -38,7 +33,6 @@ <h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
3833
expand-separator
3934
label="Create a lnurlpayout"
4035
>
41-
4236
<q-card>
4337
<q-card-section>
4438
<code

result

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nix/store/ds9c48q7hnkdmpzy3aq14kc1x9wrrszd-python3.9-lnbits-0.1.0

0 commit comments

Comments
 (0)