mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Include user Id on the lookup api (#8698)
Implements feature request #8682
This commit is contained in:
committed by
Torkel Ödegaard
parent
60da730c95
commit
5aac2d2078
@@ -42,6 +42,7 @@ func GetUserByLoginOrEmail(c *middleware.Context) Response {
|
||||
}
|
||||
user := query.Result
|
||||
result := m.UserProfileDTO{
|
||||
Id: user.Id,
|
||||
Name: user.Name,
|
||||
Email: user.Email,
|
||||
Login: user.Login,
|
||||
|
||||
Reference in New Issue
Block a user