make format

This commit is contained in:
ben 2022-07-27 20:22:05 +01:00
parent b60ad6974c
commit bfb4006b02
2 changed files with 3 additions and 8 deletions

View File

@ -133,7 +133,8 @@ async def api_ticket_send_ticket(event_id, payment_hash, data: CreateTicket):
if not ticket:
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}

View File

@ -4,12 +4,7 @@
label="API info"
:content-inset-level="0.5"
>
<q-btn
flat
label="Swagger API"
type="a"
href="../docs#/lnurlpayout"
></q-btn>
<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-card>
<q-card-section>
@ -38,7 +33,6 @@
expand-separator
label="Create a lnurlpayout"
>
<q-card>
<q-card-section>
<code