From 2a6afbdba7f87fa22a74c46be1f4953758f2fc89 Mon Sep 17 00:00:00 2001 From: vrexpert Date: Wed, 1 May 2024 17:41:36 +0900 Subject: [PATCH] =?UTF-8?q?fix(AuthInterceptor):=20API=20=EC=9A=94?= =?UTF-8?q?=EC=B2=AD=20token=20=EC=9D=B8=ED=84=B0=EC=85=89=ED=8A=B8=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/festago/festago/data/retrofit/AuthInterceptor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/festago/data/src/main/java/com/festago/festago/data/retrofit/AuthInterceptor.kt b/android/festago/data/src/main/java/com/festago/festago/data/retrofit/AuthInterceptor.kt index ee59b41b4..a9727cbeb 100644 --- a/android/festago/data/src/main/java/com/festago/festago/data/retrofit/AuthInterceptor.kt +++ b/android/festago/data/src/main/java/com/festago/festago/data/retrofit/AuthInterceptor.kt @@ -20,7 +20,7 @@ class AuthInterceptor(private val userRepository: UserRepository) : Interceptor .addHeader( HEADER_AUTHORIZATION, AUTHORIZATION_TOKEN_FORMAT.format( - userRepository.getAccessToken().getOrNull() ?: "TokenIsNull", + userRepository.getAccessToken().getOrNull()?.token ?: "TokenIsNull", ), ) .build()