Commit d29116d8 by Carl Bergquist Committed by GitHub

Merge pull request #11346 from infernix/fix-api-user-id

Return actual user ID in UserProfileDTO
parents 113888d6 e7227320
...@@ -315,6 +315,7 @@ func GetUserProfile(query *m.GetUserProfileQuery) error { ...@@ -315,6 +315,7 @@ func GetUserProfile(query *m.GetUserProfileQuery) error {
} }
query.Result = m.UserProfileDTO{ query.Result = m.UserProfileDTO{
Id: user.Id,
Name: user.Name, Name: user.Name,
Email: user.Email, Email: user.Email,
Login: user.Login, Login: user.Login,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment