Remove API key From Console
This commit is contained in:
@@ -241,6 +241,7 @@ async def add_report_user(get: CL.CL_ADD_REPORT_USER,api_key: APIKey = Depends(a
|
||||
@app.post("/report/getgroup")
|
||||
async def get_report_group(get: CL.CL_GET_REPORT_GROUP,api_key: APIKey = Depends(auth.get_api_key)):
|
||||
result = database(f"SELECT ID FROM `{get.dbname}`.`Gruppen` WHERE Name = '{get.group_name}'","","")
|
||||
print(result)
|
||||
if not result:
|
||||
return False
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user