We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e551139 commit fdf86feCopy full SHA for fdf86fe
app/operation/subscription.py
@@ -68,7 +68,7 @@ def _format_profile_title(
68
def create_response_headers(user: UsersResponseWithInbounds, request_url: str, sub_settings: SubSettings) -> dict:
69
"""Create response headers for subscription responses, including user subscription info."""
70
# Generate user subscription info
71
- user_info = {"upload": 0, "download": user.used_traffic, "expire": 0}
+ user_info = {"upload": 0, "download": user.used_traffic, "total": 0, "expire": 0}
72
73
if user.data_limit:
74
user_info["total"] = user.data_limit
0 commit comments