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

/join/access-denied throws error on line 19 #1487

Open
brettski opened this issue Oct 18, 2023 · 0 comments
Open

/join/access-denied throws error on line 19 #1487

brettski opened this issue Oct 18, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@brettski
Copy link
Collaborator

Describe the bug
When /join/access-denied is called on a session which cannot be joined the page error's on line 19 (

if (page.query.has('id')) {
).

The reason for this is page.query is no longer available in newer version of Sveltekit and the value should be checked against something like $page.url.searcParams.

Navigate to the following page to see error
/join/access-denied/?id=UORrxpkPjy5Bv803QA5K

@brettski brettski added the bug Something isn't working label Oct 18, 2023
@brettski brettski self-assigned this Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant