diff --git a/app/library/HttpAPI.py b/app/library/HttpAPI.py index f3c2e16b..d4a1f48e 100644 --- a/app/library/HttpAPI.py +++ b/app/library/HttpAPI.py @@ -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')