From 3b66617f37f09e421b7f5e32b7e98cdc9b2677c3 Mon Sep 17 00:00:00 2001 From: GaBaljaintheroom Date: Tue, 12 Nov 2024 17:37:46 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20restclient=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/example/service/UserAlarmService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 3e069bf2..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 @@ -33,10 +33,10 @@ public NotificationExistServiceResponse getNotificationExist(UUID userId) { log.info("{}/show-alarm/checked?fcmToken={}", alarmServerProperty.apiURL(), userFcmToken); ResponseEntity result = RestClient.builder() - .baseUrl(alarmServerProperty.apiURL() + "/show-alarm/checked?fcmToken=") + .baseUrl(alarmServerProperty.apiURL() + "/show-alarm/checked") .build() .get() - .uri(userFcmToken) + .uri("?fcmToken=" + userFcmToken) .retrieve() .toEntity(NotificationExistServiceResponse.class);