Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
motorina0 committed Nov 26, 2024
1 parent b078108 commit b5f7637
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from http import HTTPStatus
from typing import Optional

from fastapi import APIRouter, Depends, HTTPException, Request
from lnbits.core.models import User
Expand Down Expand Up @@ -31,7 +32,7 @@ async def tpos(request: Request, tpos_id):
raise HTTPException(
status_code=HTTPStatus.NOT_FOUND, detail="TPoS does not exist."
)
withdraw_pin_open = 0
withdraw_pin_open: Optional[int] = 0
if tpos.withdraw_pin_disabled:
withdraw_pin_open = tpos.withdraw_pin

Expand Down

0 comments on commit b5f7637

Please sign in to comment.