Remove API key From Console

master
Sebastian Serfling 2023-10-10 17:13:49 +02:00
parent 09087b314b
commit 7bc018fb71
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,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 `{get.group_name}` FROM `{get.dbname}`.`Gruppen`","","")
result = database(f"SELECT '{get.group_name}' FROM `{get.dbname}`.`Gruppen`","","")
if not result:
return False
else: