File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/myteam/server/global/util/redis Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,12 +112,12 @@ public String getEsportsYoutubeVideoId() {
112112
113113 public void putEsportsYoutubeVideoId (String esportsYoutubeUrl ) {
114114 redisTemplate .opsForValue ()
115- .set (ESPORTS_YOUTUBE_VIDEOID_KEY , esportsYoutubeUrl , Duration .ofMinutes (YOUTUBE_EXPIRED_TIME ));
115+ .set (ESPORTS_YOUTUBE_VIDEOID_KEY , esportsYoutubeUrl , Duration .ofMillis (YOUTUBE_EXPIRED_TIME ));
116116 }
117117
118118 public void putRefreshToken (UUID publicId , String refreshToken ) {
119119 redisTemplate .opsForValue ()
120- .set (REFRESH_TOKEN_KEY + publicId , refreshToken , Duration .ofMinutes (REFRESH_TOKEN_EXPIRE_TIME ));
120+ .set (REFRESH_TOKEN_KEY + publicId , refreshToken , Duration .ofMillis (REFRESH_TOKEN_EXPIRE_TIME ));
121121 }
122122
123123 public String getRefreshToken (UUID publicId ) {
You can’t perform that action at this time.
0 commit comments