diff --git a/pom.xml b/pom.xml index 23720d5..0c9afb1 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ com.wiemanboy WiemanApi - 1.1.1 + 1.1.2 WiemanApi WiemanApi diff --git a/src/main/java/com/wiemanboy/wiemanapi/presentation/dto/response/ProfileLocaleDto.java b/src/main/java/com/wiemanboy/wiemanapi/presentation/dto/response/ProfileLocaleDto.java index 5e9e38f..70c7736 100644 --- a/src/main/java/com/wiemanboy/wiemanapi/presentation/dto/response/ProfileLocaleDto.java +++ b/src/main/java/com/wiemanboy/wiemanapi/presentation/dto/response/ProfileLocaleDto.java @@ -10,7 +10,7 @@ public record ProfileLocaleDto( String firstName, String lastName, String username, - Description descriptions, + Description description, List skillSections, List socials ) { @@ -21,7 +21,7 @@ public static ProfileLocaleDto from(Profile profile, String locale) { profile.getLastName(), profile.getUsername(), profile.getDescription(locale), - SkillSectionDto.from(profile.getSkillSections()), + SkillSectionDto.from(profile.getSkillSections(locale)), SocialDto.from(profile.getSocials()) ); }