From 264d45ee4b1186d819c834fa25fc99155ab2d0d0 Mon Sep 17 00:00:00 2001 From: yel-m Date: Wed, 3 Jul 2024 07:06:31 +0900 Subject: [PATCH 1/2] =?UTF-8?q?refactor=20:=20=EC=82=AC=EC=9A=A9=ED=95=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8A=94=20dependency=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build.gradle b/build.gradle index d39543b..dbb8165 100644 --- a/build.gradle +++ b/build.gradle @@ -24,10 +24,6 @@ repositories { dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-validation' -// implementation 'org.springframework.boot:spring-boot-starter-oauth2-authorization-server' -// implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' -// implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server' -// implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2' compileOnly 'org.projectlombok:lombok' @@ -47,7 +43,6 @@ dependencies { implementation 'io.jsonwebtoken:jjwt-api:0.11.5' implementation 'io.jsonwebtoken:jjwt-impl:0.11.5' implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5' -// implementation group: 'org.springdoc', name: 'springdoc-openapi-starter-webmvc-ui', version: '2.1.0' } tasks.named('test') { From 3e58c598b277b8cdae86e9c377115a6761d3743a Mon Sep 17 00:00:00 2001 From: yel-m Date: Wed, 3 Jul 2024 07:06:48 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix=20:=20User=20=ED=94=84=EB=A1=9C?= =?UTF-8?q?=ED=95=84=20=EC=88=98=EC=A0=95=20=EC=8B=9C=20name=EB=8F=84=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=ED=95=A0=20=EC=88=98=20=EC=9E=88=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hobak/happinessql/domain/user/domain/User.java | 1 + .../domain/user/dto/UserProfileUpdateRequestDto.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/main/java/com/hobak/happinessql/domain/user/domain/User.java b/src/main/java/com/hobak/happinessql/domain/user/domain/User.java index de18ebd..06101d1 100644 --- a/src/main/java/com/hobak/happinessql/domain/user/domain/User.java +++ b/src/main/java/com/hobak/happinessql/domain/user/domain/User.java @@ -79,5 +79,6 @@ public boolean isEnabled() { public void updateUserProfile(UserProfileUpdateRequestDto requestDto) { this.gender = requestDto.getGender(); this.age = requestDto.getAge(); + this.name = requestDto.getName(); } } \ No newline at end of file diff --git a/src/main/java/com/hobak/happinessql/domain/user/dto/UserProfileUpdateRequestDto.java b/src/main/java/com/hobak/happinessql/domain/user/dto/UserProfileUpdateRequestDto.java index 414a3d9..85999cb 100644 --- a/src/main/java/com/hobak/happinessql/domain/user/dto/UserProfileUpdateRequestDto.java +++ b/src/main/java/com/hobak/happinessql/domain/user/dto/UserProfileUpdateRequestDto.java @@ -15,5 +15,7 @@ public class UserProfileUpdateRequestDto { @Min(1) private int age; + private String name; + }