Skip to content

Commit

Permalink
Chore: FCMTokenService - 형변환 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
pingowl committed Nov 13, 2023
1 parent 48ca38c commit 6cd8c3c
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 6cd8c3c

Please sign in to comment.