Skip to content

Commit

Permalink
fix: use correct auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorhugods committed Oct 17, 2023
1 parent 4d1dfd3 commit a3963e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ internal class AuthenticatedHttpClientProviderImpl(

private val loadToken: suspend () -> BearerTokens? = {
val session = sessionManager.session() ?: error("missing user session")
BearerTokens(accessToken = "Invalid", refreshToken = session.refreshToken)
BearerTokens(accessToken = session.accessToken, refreshToken = session.refreshToken)
}

private val refreshToken: suspend RefreshTokensParams.() -> BearerTokens = {
Expand Down

0 comments on commit a3963e9

Please sign in to comment.