fixed naming conflict
This commit is contained in:
parent
88ecfbb516
commit
9f00a8cdc3
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ class HttpAPI(common):
|
||||||
return web.Response(text='pong')
|
return web.Response(text='pong')
|
||||||
|
|
||||||
@route('POST', 'add')
|
@route('POST', 'add')
|
||||||
async def add(self, request: Request) -> Response:
|
async def add_url(self, request: Request) -> Response:
|
||||||
post = await request.json()
|
post = await request.json()
|
||||||
|
|
||||||
url: str = post.get('url')
|
url: str = post.get('url')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue