Update views.py
This commit is contained in:
parent
5ccf5111a5
commit
feb5a9e6c8
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ async def displaywin(
|
||||||
request: Request, link_id: str = Query(None), payment_hash: str = Query(None)
|
request: Request, link_id: str = Query(None), payment_hash: str = Query(None)
|
||||||
):
|
):
|
||||||
satsdicelink = await get_satsdice_pay(link_id)
|
satsdicelink = await get_satsdice_pay(link_id)
|
||||||
if not satsdiceLink:
|
if not satsdicelink:
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
status_code=HTTPStatus.NOT_FOUND, detail="satsdice link does not exist."
|
status_code=HTTPStatus.NOT_FOUND, detail="satsdice link does not exist."
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue