fix: secure classroom invite codes - #901
Conversation
|
Someone is attempting to deploy a commit to the Karan Mani Tripathi 's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
CodeAnt AI is reviewing your PR. |
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe room API now imports ChangesRoom invite-code generation
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
❌ PR Rejected — Issue Assignment Check FailedHi @saurabhhhcodes! This PR has been closed because you are not assigned to the issue(s) it references:
What to do:
|
Closes #789
Replaces the classroom invite code generator in
src/app/api/rooms/route.tswithcrypto.randomBytes(...)so room codes are no longer derived fromMath.random().Validation:
git diff --checknpx tsc --noEmit --pretty falseSummary by CodeRabbit