Skip to content

Correctly clear Apple Health Integration#437

Merged
theospears merged 2 commits intomasterfrom
clear-applehealth-cleanly
Jan 28, 2024
Merged

Correctly clear Apple Health Integration#437
theospears merged 2 commits intomasterfrom
clear-applehealth-cleanly

Conversation

@theospears
Copy link
Copy Markdown
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
Copy Markdown
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

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