diff --git a/src/Dto/Tiny/UserTinyDto.cs b/src/Dto/Tiny/UserTinyDto.cs index 6ca667f..789efb8 100644 --- a/src/Dto/Tiny/UserTinyDto.cs +++ b/src/Dto/Tiny/UserTinyDto.cs @@ -13,7 +13,7 @@ public class UserTinyDto public required string FirstName { get; set; } public required string Email { get; set; } public required char Sexe { get; set; } - public float Lenght { get; set; } + public float Length { get; set; } public float Weight { get; set; } public string? Password { get; set; } public DateTime DateOfBirth { get; set; } diff --git a/src/Entities2Dto/UserMappeur.cs b/src/Entities2Dto/UserMappeur.cs index 0e8e4fe..fc5eb53 100644 --- a/src/Entities2Dto/UserMappeur.cs +++ b/src/Entities2Dto/UserMappeur.cs @@ -30,7 +30,7 @@ public static class UserMappeur Sexe = athleteEntity.Sexe, Username = athleteEntity.UserName, Weight = athleteEntity.Weight, - Lenght = (float)athleteEntity.Length, + Length = (float)athleteEntity.Length, ProfilePicture = athleteEntity.ProfilPicture ?? "", IsCoach = athleteEntity.IsCoach }; @@ -52,7 +52,7 @@ public static class UserMappeur DateOfBirth = DateOnly.FromDateTime(user.DateOfBirth), IsCoach = user.IsCoach, Weight = user.Weight, - Length = user.Lenght, + Length = user.Length, ProfilPicture = user.ProfilePicture };