Skip to content

fix(web): import createOAuthState in accounts page - #246

Merged
ajianaz merged 1 commit into
developfrom
fix/web-oauth-state-import
Sep 2, 2026
Merged

fix(web): import createOAuthState in accounts page#246
ajianaz merged 1 commit into
developfrom
fix/web-oauth-state-import

Conversation

@ajianaz

@ajianaz ajianaz commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

What

Adds the missing createOAuthState import to web/src/routes/admin/accounts/+page.svelte.

Why

Follow-up to #240: the Connect flow calls createOAuthState() but the import was missing, so clicking Connect throws a ReferenceError at runtime. SvelteKit build does not type-check (only svelte-check does), which is why CI stayed green on develop.

Testing

  • bun run check on develop shows Cannot find name 'createOAuthState' before this change; gone after
  • grep -n createOAuthState web/src/routes/admin/accounts/+page.svelte → import + call site both present

The Connect flow calls createOAuthState() (added in #240) but the import
was missing — clicking Connect threw a ReferenceError at runtime. SvelteKit
build does not type-check, so CI did not catch it; svelte-check does.
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit a43a42c into develop Sep 2, 2026
12 checks passed
@ajianaz
ajianaz deleted the fix/web-oauth-state-import branch September 2, 2026 06:00
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