1
0
mirror of synced 2024-12-18 08:15:53 +01:00

mucha: UTC_SERVER_TIME -> SERVER_TIME_UTC

This commit is contained in:
Kevin Trocolli 2024-02-24 16:49:02 -05:00
parent b7f56c20a7
commit 4363b8321b

View File

@ -229,7 +229,7 @@ class MuchaAuthResponse:
self.RESULTS = "001" self.RESULTS = "001"
self.AUTH_INTERVAL = "86400" self.AUTH_INTERVAL = "86400"
self.SERVER_TIME = datetime.strftime(datetime.now(), "%Y%m%d%H%M") self.SERVER_TIME = datetime.strftime(datetime.now(), "%Y%m%d%H%M")
self.UTC_SERVER_TIME = datetime.strftime(datetime.now(pytz.UTC), "%Y%m%d%H%M") self.SERVER_TIME_UTC = datetime.strftime(datetime.now(pytz.UTC), "%Y%m%d%H%M")
self.CHARGE_URL = f"https://{mucha_url}/charge/" self.CHARGE_URL = f"https://{mucha_url}/charge/"
self.FILE_URL = f"https://{mucha_url}/file/" self.FILE_URL = f"https://{mucha_url}/file/"