mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-04 01:53:59 +01:00
Fixed bug
This commit is contained in:
parent
da43923d2f
commit
a58924184e
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ async def displaywin(
|
|||
status_code=HTTPStatus.NOT_FOUND, detail="satsdice link does not exist."
|
||||
)
|
||||
|
||||
withdrawLink = await get_satsdice_withdraw(payment_hash)
|
||||
if withdrawLink.lost:
|
||||
payment = await get_satsdice_payment(payment_hash)
|
||||
if payment.lost:
|
||||
return satsdice_renderer().TemplateResponse(
|
||||
"satsdice/error.html",
|
||||
{"request": request, "link": satsdicelink.id, "paid": False, "lost": True},
|
||||
|
|
Loading…
Add table
Reference in a new issue