API: Add createdAt field to /api/users/:id (#19475)

It would help for auditing purposes to have the user's created date exposed via the API along with the other fields already exposed via the API.
This commit is contained in:
Rafael George
2019-09-28 12:12:33 +01:00
committed by gotjosh
parent 3c0976afab
commit e1b2bf711d
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -226,6 +226,7 @@ type UserProfileDTO struct {
IsExternal bool `json:"isExternal"`
AuthLabels []string `json:"authLabels"`
UpdatedAt time.Time `json:"updatedAt"`
CreatedAt time.Time `json:"createdAt"`
}
type UserSearchHitDTO struct {