From 9f00a8cdc34cc5af78f6b69c6532d304532072a5 Mon Sep 17 00:00:00 2001 From: ArabCoders Date: Tue, 17 Dec 2024 20:11:31 +0300 Subject: [PATCH] fixed naming conflict --- app/library/HttpAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')