Skip to content

Commit

Permalink
fix(AuthInterceptor): API 요청 token 인터셉트 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
SeongHoonC committed May 1, 2024
1 parent e9e3c3b commit 2a6afbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2a6afbd

Please sign in to comment.