Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add null check to authentication info access. #183

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

gazialankus
Copy link
Contributor

One more instance of getting userId

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Copy link
Contributor

@hampuslavin hampuslavin left a comment

Choose a reason for hiding this comment

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

Thanks! 🙏

@hampuslavin hampuslavin changed the title userId must be obtained as (await session.authenticated)?.userId; fix: Add null check to authentication info access. Oct 16, 2024
@hampuslavin hampuslavin merged commit aa9ee78 into serverpod:main Oct 16, 2024
2 checks passed
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.

None yet

2 participants