Skip to content

[WW-4258] Fix baseProjectRef for migrated configs#57

Open
leo91000 wants to merge 1 commit intomainfrom
hotfix/WW-4258
Open

[WW-4258] Fix baseProjectRef for migrated configs#57
leo91000 wants to merge 1 commit intomainfrom
hotfix/WW-4258

Conversation

@leo91000
Copy link
Contributor

Fixes issue where migrated Supabase configurations were sending an empty baseProjectRef parameter when loading branches.

For configurations migrated from legacy format, the baseProjectRef field is not present. The code now falls back to the computed baseRef value (extracted from projectUrl) when cfg.baseProjectRef is not available.

For migrated configs without baseProjectRef field, the branches endpoint
was receiving an empty baseProjectRef parameter. Now falls back to the
computed baseRef value extracted from projectUrl.
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