From 12b865ea0dd756bfb3eaa6b7dce71965d39837bb Mon Sep 17 00:00:00 2001 From: Vladislav Lisitsyn <114032530+Vladless@users.noreply.github.com> Date: Sat, 26 Oct 2024 16:05:58 +0300 Subject: [PATCH] Update trial_key.py --- handlers/trial_key.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/trial_key.py b/handlers/trial_key.py index db3388d2..08034abf 100644 --- a/handlers/trial_key.py +++ b/handlers/trial_key.py @@ -21,7 +21,7 @@ async def create_trial_key(tg_id: int): session = await login_with_credentials(server_id, ADMIN_USERNAME, ADMIN_PASSWORD) current_time = datetime.utcnow() - expiry_time = current_time + timedelta(days=30, hours=3) + expiry_time = current_time + timedelta(days=1, hours=3) expiry_timestamp = int(expiry_time.timestamp() * 1000) client_id = str(uuid.uuid4())