fixed naming conflict

This commit is contained in:
ArabCoders 2024-12-17 20:11:31 +03:00
parent 88ecfbb516
commit 9f00a8cdc3

View file

@ -196,7 +196,7 @@ class HttpAPI(common):
return web.Response(text='pong')
@route('POST', 'add')
async def add(self, request: Request) -> Response:
async def add_url(self, request: Request) -> Response:
post = await request.json()
url: str = post.get('url')