Skip to content

Commit

Permalink
fix: fix the redis key type
Browse files Browse the repository at this point in the history
  • Loading branch information
JIUNG9 committed Dec 19, 2023
1 parent 718db55 commit 6bca27d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.util.concurrent.TimeUnit;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

Expand All @@ -10,10 +11,11 @@
@Component
public class RedisRefreshTokenUtil {

private RedisTemplate<Object, Object> redisTemplate;
private RedisTemplate<String, Object> redisTemplate;

@Autowired
public RedisRefreshTokenUtil(
RedisTemplate<Object, Object> redisTemplate) {
RedisTemplate<String, Object> redisTemplate) {
this.redisTemplate = redisTemplate;
}

Expand Down

0 comments on commit 6bca27d

Please sign in to comment.