From e0642bea9392f5fdab92f70622e671f9fd7ee0c7 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 11 Dec 2020 21:30:39 +0200 Subject: Renamed custom Roles class to UserRoles, fixing naming ambiguity --- API/Service/UserService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'API/Service/UserService.cs') diff --git a/API/Service/UserService.cs b/API/Service/UserService.cs index 453e5f4..b715f8c 100644 --- a/API/Service/UserService.cs +++ b/API/Service/UserService.cs @@ -60,7 +60,7 @@ namespace API.Service User user = this._userMapper.Map(userDTO); if (user.Role == null) - user.Role = Roles.User; + user.Role = UserRoles.User; await this._userDbRepository.AddAsync(user); -- cgit v1.2.3