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

Actually check for proxied state #8

Closed
wants to merge 1 commit into from
Closed

Actually check for proxied state #8

wants to merge 1 commit into from

Conversation

ElDavoo
Copy link

@ElDavoo ElDavoo commented May 27, 2021

The script does not actually put the current proxied state into the data that are to be sent to the API. Because of this, proxied state will be always set to false. This oneliner will store the current state of the proxied data and send it back.

@dvershinin
Copy link
Owner

Thank you for bringing this up. I think the better way would be to use the PATCH API method in order to update the necessary fields only. I made the change, it should preserve the proxied state.

@dvershinin dvershinin closed this May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants