rename shorten_url to receive_url

This commit is contained in:
agatha 2024-04-13 19:41:10 -04:00
parent 051c1a1441
commit 73df28f14b

View File

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