ADD /report
parent
db70ae2bd7
commit
bb80ce2b03
2
main.py
2
main.py
|
|
@ -341,7 +341,7 @@ async def reporting(get: CL.CL_REPORTING,api_key: APIKey = Depends(auth.get_api_
|
||||||
print(f"{get.lastaccess}")
|
print(f"{get.lastaccess}")
|
||||||
print(f"{get.ipaddress}")
|
print(f"{get.ipaddress}")
|
||||||
entry = database(f"SELECT s.customer_ID,s.service_ID from `server` s where s.privat_ipaddress LIKE '%{get.ipaddress}%'","Kunden","")
|
entry = database(f"SELECT s.customer_ID,s.service_ID from `server` s where s.privat_ipaddress LIKE '%{get.ipaddress}%'","Kunden","")
|
||||||
print(entry)
|
print(entry[0])
|
||||||
|
|
||||||
|
|
||||||
## Startet den API-Server
|
## Startet den API-Server
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue