mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 18:11:30 +01:00
mypy being thoroughly objectionable
This commit is contained in:
parent
caadeb77e2
commit
6c9a52c6e1
@ -715,7 +715,7 @@ async def websocket_update_get(item_id: str, data: str):
|
||||
|
||||
|
||||
@core_app.post("/api/v1/tinyurl")
|
||||
async def api_create_tinyurl(url: str, endless: Optional[bool] = False):
|
||||
async def api_create_tinyurl(url: str, endless: bool = False):
|
||||
tinyurl = await get_tinyurl_by_url(url)
|
||||
if tinyurl:
|
||||
return tinyurl
|
||||
|
Loading…
Reference in New Issue
Block a user