Skip to content

fix(bug): Fixed Undefined classroom join link#599

Merged
utsab merged 2 commits into
freeCodeCamp:mainfrom
NewtonLC:fix/undefined-join-link
Jun 16, 2026
Merged

fix(bug): Fixed Undefined classroom join link#599
utsab merged 2 commits into
freeCodeCamp:mainfrom
NewtonLC:fix/undefined-join-link

Conversation

@NewtonLC

Copy link
Copy Markdown
Contributor

Checklist:

Closes #598

Changed the Class Invite feature to use window.location.origin instead of attempting to use NEXTAUTH_URL.

@NewtonLC NewtonLC requested a review from a team as a code owner May 30, 2026 05:14
@CarlyAThomas

Copy link
Copy Markdown
Contributor

Tested this fix and it works. Good job.

@utsab utsab left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice work. It would be nice to have a test that verifies that the url is created correctly. But I'll go ahead and approve the PR.

@utsab utsab merged commit 857edf0 into freeCodeCamp:main Jun 16, 2026
3 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.

[Bug]: Join Link Copies as "undefined/join/<classcode>" in Classroom Invite

3 participants