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:
1 parent
3c0976afab
commit
e1b2bf711d
3 files changed
+5
-1
No files matched your search
@@ -332,6 +332,7 @@ func GetUserProfile(query *models.GetUserProfileQuery) error {
|
||||
IsDisabled: user.IsDisabled,
|
||||
OrgId: user.OrgId,
|
||||
UpdatedAt: user.Updated,
|
||||
CreatedAt: user.Created,
|
||||
}
|
||||
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user