mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-06 21:44:22 +02:00
prettier/black
This commit is contained in:
@ -133,7 +133,8 @@ async def api_ticket_send_ticket(event_id, payment_hash, data: CreateTicket):
|
|||||||
|
|
||||||
if not ticket:
|
if not ticket:
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
status_code=HTTPStatus.NOT_FOUND, detail=f"Event could not be fetched."
|
status_code=HTTPStatus.NOT_FOUND,
|
||||||
|
detail=f"Event could not be fetched.",
|
||||||
)
|
)
|
||||||
|
|
||||||
return {"paid": True, "ticket_id": ticket.id}
|
return {"paid": True, "ticket_id": ticket.id}
|
||||||
|
@ -4,12 +4,7 @@
|
|||||||
label="API info"
|
label="API info"
|
||||||
:content-inset-level="0.5"
|
:content-inset-level="0.5"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn flat label="Swagger API" type="a" href="../docs#/lnurlpayout"></q-btn>
|
||||||
flat
|
|
||||||
label="Swagger API"
|
|
||||||
type="a"
|
|
||||||
href="../docs#/lnurlpayout"
|
|
||||||
></q-btn>
|
|
||||||
<q-expansion-item group="api" dense expand-separator label="List lnurlpayout">
|
<q-expansion-item group="api" dense expand-separator label="List lnurlpayout">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
@ -38,7 +33,6 @@
|
|||||||
expand-separator
|
expand-separator
|
||||||
label="Create a lnurlpayout"
|
label="Create a lnurlpayout"
|
||||||
>
|
>
|
||||||
|
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<code
|
<code
|
||||||
|
Reference in New Issue
Block a user