ThatConference / that.us

The THAT.US website.
https://that.us
GNU General Public License v3.0
67 stars 32 forks source link

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

Open brettski opened 9 months ago

brettski commented 9 months ago

Describe the bug When /join/access-denied is called on a session which cannot be joined the page error's on line 19 (https://github.com/ThatConference/that.us/blob/9c5698696f71bec3d792d2f5cab14ec07bcc2f03/src/routes/join/access-denied/%2Bpage.svelte#L19).

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