small fix

This commit is contained in:
Vladless
2024-11-13 15:38:20 +03:00
parent 9f8a366aa3
commit 7bf22c8c2b
2 changed files with 16 additions and 4 deletions
+2
View File
@@ -69,6 +69,8 @@ async def extend_client_key(xui, email: str, new_expiry_time: int, client_id: st
client.id = client_id
client.expiry_time = new_expiry_time
client.flow = "xtls-rprx-vision"
client.sub_id = email
if TOTAL_GB > 0:
client.total_gb = TOTAL_GB