diff options
Diffstat (limited to 'Timeline/Entities/User.cs')
-rw-r--r-- | Timeline/Entities/User.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Timeline/Entities/User.cs b/Timeline/Entities/User.cs index 50463b57..c77e895d 100644 --- a/Timeline/Entities/User.cs +++ b/Timeline/Entities/User.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace Timeline.Entities { public class User @@ -16,8 +11,8 @@ namespace Timeline.Entities { return new UserInfo { - Username = this.Username, - Roles = this.Roles + Username = Username, + Roles = Roles }; } } |