Skip to content

Commit

Permalink
Hotfix : 알림 서버 연동 확인 (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaBaljaintheroom authored Nov 13, 2024
1 parent dc5d9aa commit 2a51c6e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<NotificationExistServiceResponse> 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);

Expand Down

0 comments on commit 2a51c6e

Please sign in to comment.