Remove API key From Console
parent
0320e9b53d
commit
cdea59a583
2
main.py
2
main.py
|
|
@ -155,7 +155,7 @@ async def get_report_group(get: CL.CL_GET_REPORT_GROUP,api_key: APIKey = Depends
|
||||||
if not result:
|
if not result:
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
return result
|
return result[0][0]
|
||||||
|
|
||||||
@app.post("/report/addgroup")
|
@app.post("/report/addgroup")
|
||||||
async def get_addreport_group(get: CL.CL_ADD_REPORT_GROUP,api_key: APIKey = Depends(auth.get_api_key)):
|
async def get_addreport_group(get: CL.CL_ADD_REPORT_GROUP,api_key: APIKey = Depends(auth.get_api_key)):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue