From 6cd8c3cfa6d9206a0c955fbdbfc7651ad34f544c Mon Sep 17 00:00:00 2001 From: BK Date: Mon, 13 Nov 2023 23:14:13 +0900 Subject: [PATCH] =?UTF-8?q?Chore:=20FCMTokenService=20-=20=ED=98=95?= =?UTF-8?q?=EB=B3=80=ED=99=98=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/igoMoney/BE/service/FCMTokenService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/igoMoney/BE/service/FCMTokenService.java b/src/main/java/igoMoney/BE/service/FCMTokenService.java index 376dd78..fe083f4 100644 --- a/src/main/java/igoMoney/BE/service/FCMTokenService.java +++ b/src/main/java/igoMoney/BE/service/FCMTokenService.java @@ -32,7 +32,7 @@ public void saveToken(Long userId, String FCMToken){ } private String getToken(Long userId) { - return tokenRedisTemplate.opsForValue().get(userId); + return tokenRedisTemplate.opsForValue().get(String.valueOf(userId)); } public void deleteToken(Long userId) {