summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristofer Hallin <kristofer@sunet.se>2021-10-29 14:02:41 +0200
committerKristofer Hallin <kristofer@sunet.se>2021-10-29 14:02:41 +0200
commitc8bf559249e210ecd925d6dbc672e1a6d469b81f (patch)
treebf0d1bcd82a9a374ab6f9a0bd22c1628c93b482b /src
parent807fceece4526d5904a68d684bd6280dff71fa1f (diff)
Typo, statuc -> status.fastapi
Diffstat (limited to 'src')
-rwxr-xr-xsrc/wsgi.py4
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')