From 441bf46a8b7bc61722241d9ba321863093b1121a Mon Sep 17 00:00:00 2001 From: kckc0608 Date: Sun, 15 Feb 2026 18:57:19 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=82=AC=EC=9A=A9=EC=9E=90=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EC=A1=B0=ED=9A=8C=20API=20=EC=9D=91=EB=8B=B5?= =?UTF-8?q?=EC=97=90=20=EC=95=BD=EA=B4=80=20=EB=8F=99=EC=9D=98=20=ED=95=84?= =?UTF-8?q?=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../refit/domain/user/dto/response/MyProfileResponse.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/com/shyashyashya/refit/domain/user/dto/response/MyProfileResponse.java b/backend/src/main/java/com/shyashyashya/refit/domain/user/dto/response/MyProfileResponse.java index 0f35fc58..7592ca66 100644 --- a/backend/src/main/java/com/shyashyashya/refit/domain/user/dto/response/MyProfileResponse.java +++ b/backend/src/main/java/com/shyashyashya/refit/domain/user/dto/response/MyProfileResponse.java @@ -10,7 +10,8 @@ public record MyProfileResponse( @NotNull String nickname, @NotNull Long industryId, @NotNull Long jobCategoryId, - @NotNull String profileImageUrl) { + @NotNull String profileImageUrl, + @NotNull boolean isAgreedToTerms) { public static MyProfileResponse from(User user) { return MyProfileResponse.builder() @@ -18,6 +19,7 @@ public static MyProfileResponse from(User user) { .industryId(user.getIndustry().getId()) .jobCategoryId(user.getJobCategory().getId()) .profileImageUrl(user.getProfileImageUrl()) + .isAgreedToTerms(user.isAgreedToTerms()) .build(); } }