Remove API key From Console
parent
cac20fbbf3
commit
e21d9d87ed
2
main.py
2
main.py
|
|
@ -261,7 +261,7 @@ async def get_addusertogroup(get: CL.CL_ADD_USER_TO_GROUP,api_key: APIKey = Depe
|
|||
if not check:
|
||||
database(f"INSERT INTO `{get.dbname}`.GruppenToUser (UserID,GruppenID) VALUES ({get.userID},{get.groupID})","","")
|
||||
else:
|
||||
return check[0][0]
|
||||
return check
|
||||
|
||||
@app.post("/report/addgroup")
|
||||
async def get_addreport_group(get: CL.CL_ADD_REPORT_GROUP,api_key: APIKey = Depends(auth.get_api_key)):
|
||||
|
|
|
|||
Loading…
Reference in New Issue