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

Correctly clear Apple Health Integration #437

Merged
merged 2 commits into from
Jan 28, 2024

Conversation

theospears
Copy link
Collaborator

Previously when attempting to disconnect Apple Health goals they would enter a state where they no longer updated, but beeminder.com still considered them autodata, and thus e.g. changing the deadline was forbidden. This was because we were setting the autodata name to an empty string, rather than null. Sending null was not supported via the URL encoding schema the app was using, so switch to sending parameters as JSON instead and send nil.

Fixes #248

@theospears
Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @theospears and the rest of your teammates on Graphite Graphite

@theospears theospears merged commit 35c43ed into master Jan 28, 2024
2 checks passed
@theospears theospears deleted the clear-applehealth-cleanly branch January 28, 2024 23:16
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.

Can't set deadline on a goal that used to be an Apple Health goal
1 participant