Update views.py

This commit is contained in:
Arc
2021-11-16 03:11:01 +00:00
committed by GitHub
parent 5ccf5111a5
commit feb5a9e6c8

View File

@ -69,7 +69,7 @@ async def displaywin(
request: Request, link_id: str = Query(None), payment_hash: str = Query(None)
):
satsdicelink = await get_satsdice_pay(link_id)
if not satsdiceLink:
if not satsdicelink:
raise HTTPException(
status_code=HTTPStatus.NOT_FOUND, detail="satsdice link does not exist."
)