mypy being thoroughly objectionable
This commit is contained in:
parent
caadeb77e2
commit
6c9a52c6e1
1 changed files with 1 additions and 1 deletions
|
|
@ -715,7 +715,7 @@ async def websocket_update_get(item_id: str, data: str):
|
||||||
|
|
||||||
|
|
||||||
@core_app.post("/api/v1/tinyurl")
|
@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)
|
tinyurl = await get_tinyurl_by_url(url)
|
||||||
if tinyurl:
|
if tinyurl:
|
||||||
return tinyurl
|
return tinyurl
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue