Compare commits
No commits in common. "40da79bc59d60ee5a76e5c0461e64d521950c77c" and "c8be8f40f44803ba889605b59ac7c5babb34e942" have entirely different histories.
40da79bc59
...
c8be8f40f4
4
main.py
4
main.py
|
|
@ -344,9 +344,9 @@ async def reporting(get: CL.CL_REPORTING,api_key: APIKey = Depends(auth.get_api_
|
|||
customer_ID = entry[0][0]
|
||||
service_ID = entry[0][1]
|
||||
reportingdate = datetime.now()
|
||||
reportingdate = reportingdate.strftime("%Y-%m-%d %H:%M:%S")
|
||||
reportingdate = reportingdate.strftime("yyyy-MM-dd HH:mm:ss")
|
||||
print(reportingdate)
|
||||
#database(f"INSERT INTO `Kunden.services.reporting` (username,service_ID,customer_ID,reportingdate,lastaccess) VALUES ('{get.username}','{service_ID}','{customer_ID}',{reportingdate}',{get.lastaccess}'","","")
|
||||
database(f"INSERT INTO `Kunden.services.reporting` (username,service_ID,customer_ID,reportingdate,lastaccess) VALUES ('{get.username}','{service_ID}','{customer_ID}',{reportingdate}',{get.lastaccess}'","","")
|
||||
print(f"{service_ID} - {customer_ID}")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue