diff --git a/src/main/java/com/hyetaekon/hyetaekon/UserInterest/dto/InterestSelectionRequestDto.java b/src/main/java/com/hyetaekon/hyetaekon/UserInterest/dto/InterestSelectionRequestDto.java index a092d0e..a34be5e 100644 --- a/src/main/java/com/hyetaekon/hyetaekon/UserInterest/dto/InterestSelectionRequestDto.java +++ b/src/main/java/com/hyetaekon/hyetaekon/UserInterest/dto/InterestSelectionRequestDto.java @@ -10,19 +10,10 @@ public class InterestSelectionRequestDto { private Map> categorizedInterests; - // 기존 필드 유지 - private List selectedInterests; - - // categorizedInterests에서 모든 관심사를 추출하는 메소드 public List getAllInterests() { - if (selectedInterests != null) { - return selectedInterests; - } - if (categorizedInterests == null) { return new ArrayList<>(); } - List allInterests = new ArrayList<>(); categorizedInterests.values().forEach(allInterests::addAll); return allInterests; diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 26750a1..315d5b6 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -29,9 +29,6 @@ spring: order_updates: true jdbc: batch_size: 1000 - sql: - init: - mode: always # data.sql 실행 profiles: active: dev, s3Bucket # logback-spring SpringProfile 설정 및 AWS S3 Bucket 설정