New backoffice: Fix typo on user model (#14154)

* LastLockoutDate not LastlockoutDate

* Update open api
This commit is contained in:
Mole
2023-04-25 10:58:38 +02:00
committed by GitHub
parent 57377a8f7a
commit dfa7eff7c2
3 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ public class UserPresentationFactory : IUserPresentationFactory
MediaStartNodeIds = GetKeysFromIds(user.StartMediaIds, UmbracoObjectTypes.Media),
FailedLoginAttempts = user.FailedPasswordAttempts,
LastLoginDate = user.LastLoginDate,
LastlockoutDate = user.LastLockoutDate,
LastLockoutDate = user.LastLockoutDate,
LastPasswordChangeDate = user.LastPasswordChangeDate,
};

View File

@@ -12484,7 +12484,7 @@
"format": "date-time",
"nullable": true
},
"lastlockoutDate": {
"lastLockoutDate": {
"type": "string",
"format": "date-time",
"nullable": true

View File

@@ -24,7 +24,7 @@ public class UserResponseModel : UserPresentationBase, INamedEntityPresentationM
public DateTime? LastLoginDate { get; set; }
public DateTime? LastlockoutDate { get; set; }
public DateTime? LastLockoutDate { get; set; }
public DateTime? LastPasswordChangeDate { get; set; }
}