aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/UserService.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-08-08 15:47:27 +0800
committerGitHub <noreply@github.com>2020-08-08 15:47:27 +0800
commitdb65d0c37ace61701deec5cc9cd74239208e0935 (patch)
tree8847b5500a529b6b62e11fb0a3db742be9c0210e /Timeline/Services/UserService.cs
parent151105f387c65f2285f61f8e492ad06734ec9f64 (diff)
parent976f1d9d7062aaedca52cdd6398576b717b5f58f (diff)
downloadtimeline-db65d0c37ace61701deec5cc9cd74239208e0935.tar.gz
timeline-db65d0c37ace61701deec5cc9cd74239208e0935.tar.bz2
timeline-db65d0c37ace61701deec5cc9cd74239208e0935.zip
Merge pull request #139 from crupest/user-uniqueid
Feature now user also has a unique id.
Diffstat (limited to 'Timeline/Services/UserService.cs')
-rw-r--r--Timeline/Services/UserService.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Timeline/Services/UserService.cs b/Timeline/Services/UserService.cs
index c20b180c..91d27965 100644
--- a/Timeline/Services/UserService.cs
+++ b/Timeline/Services/UserService.cs
@@ -205,6 +205,7 @@ namespace Timeline.Services
{
return new User
{
+ UniqueId = entity.UniqueId,
Username = entity.Username,
Administrator = UserRoleConvert.ToBool(entity.Roles),
Nickname = string.IsNullOrEmpty(entity.Nickname) ? entity.Username : entity.Nickname,