Skip to content

Commit

Permalink
Added user creation date to profile response to be user on onboarding…
Browse files Browse the repository at this point in the history
… web (#3602)
  • Loading branch information
gbubemismith authored Dec 21, 2023
1 parent 73a793b commit 1cacece
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Api/Models/Response/ProfileResponseModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public ProfileResponseModel(User user,
ForcePasswordReset = user.ForcePasswordReset;
UsesKeyConnector = user.UsesKeyConnector;
AvatarColor = user.AvatarColor;
CreationDate = user.CreationDate;
Organizations = organizationsUserDetails?.Select(o => new ProfileOrganizationResponseModel(o));
Providers = providerUserDetails?.Select(p => new ProfileProviderResponseModel(p));
ProviderOrganizations =
Expand All @@ -61,6 +62,7 @@ public ProfileResponseModel() : base("profile")
public bool ForcePasswordReset { get; set; }
public bool UsesKeyConnector { get; set; }
public string AvatarColor { get; set; }
public DateTime CreationDate { get; set; }
public IEnumerable<ProfileOrganizationResponseModel> Organizations { get; set; }
public IEnumerable<ProfileProviderResponseModel> Providers { get; set; }
public IEnumerable<ProfileProviderOrganizationResponseModel> ProviderOrganizations { get; set; }
Expand Down

0 comments on commit 1cacece

Please sign in to comment.