From eb4c955010ce49745676f51197db7ab9e127f9f3 Mon Sep 17 00:00:00 2001 From: 0702Yoon Date: Wed, 14 Aug 2024 01:07:43 +0900 Subject: [PATCH] =?UTF-8?q?refactor=20:=20=EC=83=81=EC=88=98=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/bigbrotherbe/global/database/InitialDataLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/example/bigbrotherbe/global/database/InitialDataLoader.java b/src/main/java/com/example/bigbrotherbe/global/database/InitialDataLoader.java index c32b1a8..cf1f688 100644 --- a/src/main/java/com/example/bigbrotherbe/global/database/InitialDataLoader.java +++ b/src/main/java/com/example/bigbrotherbe/global/database/InitialDataLoader.java @@ -36,7 +36,7 @@ public CommandLineRunner loadData(MemberRepository memberRepository, Affiliation admin.setEmail("developthreefeet@gmail.com"); admin.setUsername("admin"); memberRepository.save(admin); - Affiliation affiliation = affiliationRepository.findByAffiliationName("융소") + Affiliation affiliation = affiliationRepository.findByAffiliationName("응용소프트웨어전공") .orElseThrow(() -> new IllegalArgumentException("잘못된 소속 이름입니다.")); // AffiliationMember 엔티티 생성