Commit e7227320 by Gerben Meijer

Return actual user ID in UserProfileDTO

This fixes calls to /api/user where ID is currently always 0
parent 22fffe0d
......@@ -315,6 +315,7 @@ func GetUserProfile(query *m.GetUserProfileQuery) error {
}
query.Result = m.UserProfileDTO{
Id: user.Id,
Name: user.Name,
Email: user.Email,
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