Skip to content

Commit

Permalink
Merge pull request #12 from wiemanboy/feature/fix-return-dto
Browse files Browse the repository at this point in the history
FIX: return dto
  • Loading branch information
wiemanboy authored Oct 19, 2024
2 parents 2c833f2 + 0aa0e3a commit 93f9d97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.wiemanboy</groupId>
<artifactId>WiemanApi</artifactId>
<version>1.1.1</version>
<version>1.1.2</version>
<name>WiemanApi</name>
<description>WiemanApi</description>
<url/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public record ProfileLocaleDto(
String firstName,
String lastName,
String username,
Description descriptions,
Description description,
List<SkillSectionDto> skillSections,
List<SocialDto> socials
) {
Expand All @@ -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())
);
}
Expand Down

0 comments on commit 93f9d97

Please sign in to comment.