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

create code guards when org or user are undefined #396

Merged
merged 2 commits into from
Jan 20, 2023

Conversation

kamicut
Copy link
Member

@kamicut kamicut commented Jan 20, 2023

We should ideally merge this before the release. This fixes a bug when userId or orgId are not defined in the can checks (i.e. unauthenticated requests to the API)

@kamicut kamicut requested a review from vgeorge January 20, 2023 14:25
@vercel
Copy link

vercel bot commented Jan 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
osm-teams ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 20, 2023 at 2:55PM (UTC)

@kamicut kamicut merged commit 0d888c0 into develop Jan 20, 2023
@kamicut kamicut deleted the fix/userid-not-defined branch January 20, 2023 16:39
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.

2 participants