Skip to content

Conversation

Mrgig7
Copy link

@Mrgig7 Mrgig7 commented Sep 18, 2025

Summary

  • Add controller-level validators: username (min 3), bio (<=150, optional), social_links.website (valid URL, optional)
  • Return first validation error as 403 with { error: message } for frontend compatibility
  • Preserve platform-specific hostname checks for other social links
  • Fix malformed backend/package.json and install express-validator

…, bio, social links) and fix package.json syntax; integrate validationResult with 403 error format for frontend compatibility
Copy link

vercel bot commented Sep 18, 2025

@Mrgig7 is attempting to deploy a commit to the avdheshvarshney's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.

@Avdhesh-Varshney
Copy link
Member

Closed because for any contribution, first raise the issue and wait for assign. Then finally raise the PR.

This is PR is raised without any discussion and prior info.

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