epicweb-dev / web-auth

Take ownership of you application's authentication and authorization
https://www.epicweb.dev
Other
289 stars 83 forks source link

Missing code from video? #57

Closed RobbertWolfs closed 2 months ago

RobbertWolfs commented 2 months ago

https://github.com/epicweb-dev/web-auth/blob/001e398941e856d533597cfd895a8516c3acb051/exercises/11.verification/01.solution.schema/prisma/seed.ts#L27-L31

image

I noticed in the video of this exercise you had some extra code (and mentioned it) that is not inside this exercise (anymore)? Is there a reason its deleted and not needed anymore? I was just wondering 😅

Also I cant remember we added those deletes for permissions and roles in previous exercises 🫣

kentcdodds commented 2 months ago

Good catch! I've added a note to explain why this happened.