mypy being thoroughly objectionable
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user