Remove API key From Console
This commit is contained in:
@@ -261,7 +261,7 @@ async def get_addusertogroup(get: CL.CL_ADD_USER_TO_GROUP,api_key: APIKey = Depe
|
|||||||
if not check:
|
if not check:
|
||||||
database(f"INSERT INTO `{get.dbname}`.GruppenToUser (UserID,GruppenID) VALUES ({get.userID},{get.groupID})","","")
|
database(f"INSERT INTO `{get.dbname}`.GruppenToUser (UserID,GruppenID) VALUES ({get.userID},{get.groupID})","","")
|
||||||
else:
|
else:
|
||||||
return check[0][0]
|
return check
|
||||||
|
|
||||||
@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)):
|
||||||
|
|||||||
Reference in New Issue
Block a user