Skip to content

fix: correct field mappings for Open Wearables connections API#2

Open
healthkowshik wants to merge 1 commit intoGasiek:mainfrom
healthkowshik:fix-correct-field-mappings
Open

fix: correct field mappings for Open Wearables connections API#2
healthkowshik wants to merge 1 commit intoGasiek:mainfrom
healthkowshik:fix-correct-field-mappings

Conversation

@healthkowshik
Copy link

Summary

  • Fix connection field mappings to match Open Wearables API response
  • connected_atcreated_at
  • is_activestatus == "active"
  • last_synclast_synced_at

Problem

The Settings/Connections page showed "Never synced" even when data had been synced, because the field names from Open Wearables API didn't match what Healthion expected.

Test plan

    1. Navigate to Settings → Your Connections
    1. Verify "Last synced" shows actual timestamp instead of "Never synced"
    1. Verify "Connected" date is displayed correctly
    1. Verify connection status (active/inactive) is correct

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.

1 participant