From 7e47137113aafdd6ac1d60b9a107db0bb285ef22 Mon Sep 17 00:00:00 2001 From: boram <128011308+bo-ram-bo-ram@users.noreply.github.com> Date: Tue, 24 Sep 2024 17:15:59 +0900 Subject: [PATCH] =?UTF-8?q?hotfix=20:=20Token=20=EC=97=94=ED=8B=B0?= =?UTF-8?q?=ED=8B=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/pickple/server/global/auth/redis/domain/Token.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/pickple/server/global/auth/redis/domain/Token.java b/src/main/java/com/pickple/server/global/auth/redis/domain/Token.java index 33c21143..4634cd82 100644 --- a/src/main/java/com/pickple/server/global/auth/redis/domain/Token.java +++ b/src/main/java/com/pickple/server/global/auth/redis/domain/Token.java @@ -15,6 +15,7 @@ public class Token { @Id private Long id; + @Indexed private String refreshToken; public static Token of(final Long id, final String refreshToken) { @@ -23,4 +24,4 @@ public static Token of(final Long id, final String refreshToken) { .refreshToken(refreshToken) .build(); } -} \ No newline at end of file +}