rename function

This commit is contained in:
agatha 2024-04-13 19:31:00 -04:00
parent 5c2c3bd5dd
commit bcf4dd27b7

View File

@ -17,7 +17,7 @@ app.add_middleware(
@app.get('/')
async def shorten_url(url: Optional[str] = None):
async def unshorten_url(url: Optional[str] = None):
if url is None:
return {"error": "no url provided"}