reset traffic

This commit is contained in:
Vladless
2024-11-24 23:02:34 +03:00
parent 783ac6f705
commit 6c29f6d164
+1
View File
@@ -72,6 +72,7 @@ async def extend_client_key(xui, inbound_id, email: str, new_expiry_time: int, c
client.inbound_id = inbound_id
await xui.client.update(client.id, client)
await xui.client.reset_stats(inbound_id, email)
logger.info(f"Ключ клиента {client.email} успешно продлён до {new_expiry_time}.")
except Exception as e: