Remove API key From Console
parent
7bb4a3c000
commit
33dead146a
2
main.py
2
main.py
|
|
@ -107,7 +107,7 @@ async def getcpu(get: CL.CL_GET_CPU,api_key: APIKey = Depends(auth.get_api_key))
|
|||
@app.post("/host/get/database")
|
||||
async def getdatabase(get: CL.CL_GET_DATABASE,api_key: APIKey = Depends(auth.get_api_key)):
|
||||
result = database(f"SELECT Datenbank FROM `Kunden` where `Subnetz` = '{get.ip}'","Stines-GmbH","")
|
||||
print(get.ip)
|
||||
print(result)
|
||||
if not result:
|
||||
return False
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue