kir-dev / programSCH

Kir-Dev újoncprojekt.
https://program-sch-frontend.vercel.app
1 stars 1 forks source link

Relations dto fix #24

Closed SzBeni2003 closed 1 month ago

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
program-sch-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 3, 2024 3:25pm
DannySS123 commented 1 month ago

@SzBeni2003 Good, but this validator won't solve the problem, in the user update function, in the catch part, please catch the error, and based on its type throw an error. Use this for reference: https://www.prisma.io/docs/orm/reference/error-reference