Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attributes up/down don't work. #55

Closed
Amaym0n opened this issue Feb 8, 2025 · 2 comments
Closed

Attributes up/down don't work. #55

Amaym0n opened this issue Feb 8, 2025 · 2 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@Amaym0n
Copy link

Amaym0n commented Feb 8, 2025

I'm trying to set integers up/down and the user's speed is not limited

Client object that I use in add method from ClientApi {'down': 30000000, 'email': 'f3d24581-eac2-4b78-b308-343d530e320f', 'enable': True, 'expiry_time': 1741620608000, 'flow': '', 'id': 'f3d24581-eac2-4b78-b308-343d530e320f', 'inbound_id': None, 'limit_ip': 0, 'method': '', 'password': '', 'reset': None, 'sub_id': '', 'tg_id': '363213806', 'total': 0, 'total_gb': 5, 'up': 30000000}

The response I Got from method get_traffic_by_id [Client(email='f3d24581-eac2-4b78-b308-343d530e320f', enable=True, id=15, password='', inbound_id=1, up=0, down=0, expiry_time=1741620608000, total=5, reset=0, flow='', method='', limit_ip=0, sub_id='', tg_id='', total_gb=0)]

Copy link

github-actions bot commented Feb 8, 2025

Thank you for opening an issue!
Please, first check our FAQ section in discussions to see if your question has already been answered.
You can also use Discussion if you have any questions or suggestions, while the Issues section is for bug reports and feature requests.

If you want to proceed with the issue, please provide the following information:
- Description of the issue
- Expected behavior
- Actual behavior
- Steps to reproduce the issue
- Python version
- OS
- py3xui version
- 3x-UI version
- Code snippet or a minimal example to reproduce the issue (if applicable)
- JSON representation of the request to the API (if applicable)

Thank you!

@iwatkot
Copy link
Owner

iwatkot commented Feb 8, 2025

@Amaym0n, hello!

Please provide all the information requested by the bot, specifically payloads and JSON response from the API.
Or the issue will be closed.

Thank you
Sincerely

@iwatkot iwatkot self-assigned this Feb 8, 2025
@iwatkot iwatkot added the invalid This doesn't seem right label Feb 8, 2025
@iwatkot iwatkot closed this as completed Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants