From 0c1ddd8a37db719185ab816d64aa5cdb77dd4236 Mon Sep 17 00:00:00 2001 From: JIN-076 Date: Wed, 28 Feb 2024 23:21:54 +0900 Subject: [PATCH] =?UTF-8?q?[FEAT]=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C?= =?UTF-8?q?=20=EC=97=85=EC=A0=81=20=ED=95=84=EB=93=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/user/presentation/dto/res/UserUpdateApiRes.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/io/oeid/mogakgo/domain/user/presentation/dto/res/UserUpdateApiRes.java b/src/main/java/io/oeid/mogakgo/domain/user/presentation/dto/res/UserUpdateApiRes.java index 08309bbf..6822d19e 100644 --- a/src/main/java/io/oeid/mogakgo/domain/user/presentation/dto/res/UserUpdateApiRes.java +++ b/src/main/java/io/oeid/mogakgo/domain/user/presentation/dto/res/UserUpdateApiRes.java @@ -23,16 +23,13 @@ public class UserUpdateApiRes { private String avatarUrl; @Schema(description = "유저가 원하는 직군", example = "[\"BACKEND\", \"FRONTEND\"]") private List wantedJobs; - @Schema(description = "유저의 업적 ID", example = "1") - private Long achievementId; public static UserUpdateApiRes from(UserUpdateRes userUpdateRes) { return new UserUpdateApiRes( userUpdateRes.getUsername(), userUpdateRes.getBio(), userUpdateRes.getAvatarUrl(), - userUpdateRes.getWantedJobs().stream().map(WantedJob::getJobName).toList(), - userUpdateRes.getAchievementId() + userUpdateRes.getWantedJobs().stream().map(WantedJob::getJobName).toList() ); } }