From c8bf559249e210ecd925d6dbc672e1a6d469b81f Mon Sep 17 00:00:00 2001 From: Kristofer Hallin Date: Fri, 29 Oct 2021 14:02:41 +0200 Subject: Typo, statuc -> status. --- src/wsgi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wsgi.py') diff --git a/src/wsgi.py b/src/wsgi.py index 5f56fb9..b6a1a10 100755 --- a/src/wsgi.py +++ b/src/wsgi.py @@ -93,7 +93,7 @@ async def get(key=None, limit=25, skip=0, ip=None, port=None, for domain in domains: data.extend(get_data(key, limit, skip, ip, port, asn, domain)) - return JSONResponse(content={"statuc": "success", "docs": data}) + return JSONResponse(content={"status": "success", "docs": data}) @app.get('/sc/v0/get/{key}') @@ -103,7 +103,7 @@ async def get_key(key=None, Authorize: AuthJWT = Depends()): data = get_data(key) - return JSONResponse(content={"statuc": "success", "docs": data}) + return JSONResponse(content={"status": "success", "docs": data}) @app.post('/sc/v0/add') -- cgit v1.1