ADD VOLUME_MOUNT
parent
bcabeadec4
commit
bb882b49bf
2
main.py
2
main.py
|
|
@ -70,7 +70,7 @@ async def database_get(get: CL.CL_Database_get,api_key: APIKey = Depends(auth.ge
|
||||||
|
|
||||||
@app.post("/info/getdatabase")
|
@app.post("/info/getdatabase")
|
||||||
async def getdatabase(get: CL.CL_GET_DATABASE):
|
async def getdatabase(get: CL.CL_GET_DATABASE):
|
||||||
return database(f"SELECT name FROM `Kunden-Server` where `IP-Adresse` = '{get.ip}'","Stines-GmbH","")
|
return database(f"SELECT name FROM `Kunden-Server` where `IP-Adresse` = '{get.ip}'","Stines-GmbH","")[0][0]
|
||||||
|
|
||||||
@app.post("/dbset")
|
@app.post("/dbset")
|
||||||
async def dbset(get: CL.CL_Database_set):
|
async def dbset(get: CL.CL_Database_set):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue