ADD /report
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user