Skip to content

Commit

Permalink
Type: fix cast error (#84)
Browse files Browse the repository at this point in the history
[Fix] FCMTokenService - 형변환 수정
  • Loading branch information
pingowl authored Nov 13, 2023
2 parents 48ca38c + 6cd8c3c commit 4802aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/igoMoney/BE/service/FCMTokenService.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4802aa8

Please sign in to comment.