Closed Anuj-Gill closed 8 months ago
Someone is attempting to deploy a commit to a Personal Account owned by @ani1609 on Vercel.
@ani1609 first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
spendwise | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 22, 2023 8:42pm |
spendwise-server | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 22, 2023 8:42pm |
@Anuj-Gill i just tried to signup with an email 'mail@tt' and it got be signed up without giving any error!!
@ani1609
But it's giving me an error when i am running it locally.
Issue While signing up, invalid email formats were not being handled correctly.
Description: Added Zod validation for email to ensure correct format during signup. Implemented a structured error response with HTTP status code 400 for invalid emails. Enhanced error message clarity and consistency with best practices.
Checklist:
Screenshots: If the user enters email in wrong format, ie. test@gmail, test@a or something, the user will see this:![image](https://github.com/ani1609/Spendwise/assets/130141645/9b5d03fb-1801-48e7-92b1-ddb3d1f069e3)
The user requires to enter the mail in correct format ie test@gmail.co or com or something test@(something).(something like co, com, in etc)