diff --git a/app/api/user-api/src/main/java/org/example/service/UserAlarmService.java b/app/api/user-api/src/main/java/org/example/service/UserAlarmService.java index adc5c6ea..c4000fee 100644 --- a/app/api/user-api/src/main/java/org/example/service/UserAlarmService.java +++ b/app/api/user-api/src/main/java/org/example/service/UserAlarmService.java @@ -30,10 +30,13 @@ public class UserAlarmService { public NotificationExistServiceResponse getNotificationExist(UUID userId) { String userFcmToken = findUserFcmTokenById(userId); + log.info("{}/show-alarm/checked?fcmToken={}", alarmServerProperty.apiURL(), userFcmToken); + ResponseEntity result = RestClient.builder() - .baseUrl(alarmServerProperty.apiURL() + "/show-alarm/checked?fcmToken=" + userFcmToken) + .baseUrl(alarmServerProperty.apiURL() + "/show-alarm/checked") .build() .get() + .uri("?fcmToken=" + userFcmToken) .retrieve() .toEntity(NotificationExistServiceResponse.class);