diff --git a/src/main/java/com/kimgreen/backend/domain/notification/service/FCMService.java b/src/main/java/com/kimgreen/backend/domain/notification/service/FCMService.java index 666f6c5..24d7a1a 100644 --- a/src/main/java/com/kimgreen/backend/domain/notification/service/FCMService.java +++ b/src/main/java/com/kimgreen/backend/domain/notification/service/FCMService.java @@ -36,7 +36,7 @@ public class FCMService { @Value("${fcm.key.scope}") private String fireBaseScope; - @Value(("{fcm.url}")) + @Value(("${fcm.url}")) private String FCM_URL; private final FCMTokenRepository fcmTokenRepository; @@ -47,6 +47,7 @@ public class FCMService { @PostConstruct public void init() { try { + System.out.println(FCM_URL+" "+fireBaseScope+" "+FCM_PRIVATE_KEY_PATH); GoogleCredentials googleCredentials = GoogleCredentials .fromStream(new ClassPathResource(FCM_PRIVATE_KEY_PATH).getInputStream()) .createScoped(List.of(fireBaseScope));