Skip to content

Commit 5bfc803

Browse files
authored
Merge pull request #92 from boolean-uk/hot-fix-role-bug
Bug: Fix inconcistent setting and getting of roles.
2 parents 347af3f + 2c0ceea commit 5bfc803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercise.wwwapi/Models/User.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace exercise.wwwapi.Models
55
{
6-
public enum Roles { teacher, student }
6+
public enum Roles { student, teacher }
77
[Table("users")]
88
public class User
99
{

0 commit comments

Comments
 (0)