Skip to content

Conversation

orhanrauf
Copy link
Contributor

@orhanrauf orhanrauf commented Oct 21, 2025

Summary by cubic

Fixes unauthenticated user updates by using the correct query/transaction and returning the fully loaded user (including orgs). Prevents failures caused by direct refresh on userless transactions.

  • Bug Fixes
    • Fetch user via _get_user_query_with_orgs before update, and re-query after commit.
    • Replace session refresh with re-query to return the updated, hydrated user.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

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