diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/wsgi.py | 4 |
1 files changed, 2 insertions, 2 deletions
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') |