Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

fix: AllSetStep uses correct endpoint for storage mode detection - #185

Merged
shiba4life merged 3 commits into
mainfrom
worktree-agent-a25060db
Apr 4, 2026
Merged

fix: AllSetStep uses correct endpoint for storage mode detection#185
shiba4life merged 3 commits into
mainfrom
worktree-agent-a25060db

Conversation

@shiba4life

Copy link
Copy Markdown
Collaborator

Summary

  • Fixed AllSetStep.jsx fetching from /api/system/config (non-existent, returns HTML fallback) instead of /api/system/database-config
  • Updated response parsing to handle both flat (data.type) and wrapped (data.data.type) response shapes
  • This caused the onboarding summary to always show "Local" even when cloud backup (Exemem) was enabled

Test plan

  • Enable cloud backup in onboarding, verify AllSetStep shows "Cloud (Exemem)" instead of "Local"
  • Run in local mode, verify AllSetStep still shows "Local"

馃 Generated with Claude Code

The component was fetching from /api/system/config which doesn't exist
(returns HTML fallback), causing storage mode to always show "Local".
Changed to /api/system/database-config which returns the actual config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@shiba4life
shiba4life enabled auto-merge (squash) April 4, 2026 16:49
@shiba4life
shiba4life merged commit e293562 into main Apr 4, 2026
4 checks passed
@shiba4life
shiba4life deleted the worktree-agent-a25060db branch April 4, 2026 17:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant