H-BAHDON / class-of-our-own

At Code Your Future, trainee progress is tracked on a trainee tracker against milestones set by the Director of Education. But each trainee at CYF is on their own personal journey towards employment, and should really set their own milestones on their own roadmap.
MIT License
2 stars 1 forks source link

[US-5] Fix the milestone error #100

Open H-BAHDON opened 10 months ago

H-BAHDON commented 10 months ago

the problem with the dashboard is now fix, the bug was that i deleted all the users in the users table the controller was checking if the user.role = "trainee" and it didnt, so i updated the user table and added all the users a role:"trainee" delete your token and log back in and let me know if it is fix

alexeyschepin commented 10 months ago

@H-BAHDON how have you 'added all the users a role:"trainee"' ? Have you change the endpoint that creates a user? Do we have any code changes?

H-BAHDON commented 10 months ago

no code was changed,

i added trainee to all the users in the database

change: in database