Fixed lost bug

This commit is contained in:
benarc 2021-11-16 03:08:51 +00:00
parent 03ed185aac
commit 99d113f7d1

View File

@ -73,7 +73,7 @@ async def displaywin(
raise HTTPException(
status_code=HTTPStatus.NOT_FOUND, detail="satsdice link does not exist."
)
if satsdiceLink.lost:
if satsdicelink.lost:
return satsdice_renderer().TemplateResponse(
"satsdice/error.html",
{"request": request, "link": satsdicelink.id, "paid": False, "lost": True},