From 108e378343779a3f479c2f1903345bf5df38d144 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 29 Jul 2024 15:50:37 +0200 Subject: [PATCH] ADD /report --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 3bc0918..0130bda 100644 --- a/main.py +++ b/main.py @@ -352,6 +352,7 @@ async def reporting(get: CL.CL_REPORTING,api_key: APIKey = Depends(auth.get_api_ reportingdate = reportingdate.strftime("%Y-%m-%d %H:%M:%S") print(reportingdate) database(f"INSERT INTO `services.reporting` (username,service_ID,customer_ID,reportingdate,lastaccess) VALUES ('{get.username}','{service_ID}','{customer_ID}',{reportingdate}',{get.lastaccess}'","Kunden","") + print(f"INSERT INTO `services.reporting` (username,service_ID,customer_ID,reportingdate,lastaccess) VALUES ('{get.username}','{service_ID}','{customer_ID}',{reportingdate}',{get.lastaccess}'","Kunden","") print(f"{service_ID} - {customer_ID}")