Skip to content

Commit

Permalink
VCANDROID-1628 Code review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Shteinle committed Feb 17, 2022
1 parent beb4c04 commit 6809d90
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,10 @@ internal class AuthenticatorImpl(
}

override fun getMagistoTeamToken(teamId: String, callback: VimeoCallback<TeamToken>): VimeoRequest {
val authorization = currentAccount?.accessToken?.let { "Bearer $it" } ?: authenticationMethod.basicAuthHeader
return authService
.getMagistoTeamToken(
authorization = authenticationMethod.basicAuthHeader,
authorization = authorization,
teamId = teamId
)
.enqueue(callback)
Expand Down

0 comments on commit 6809d90

Please sign in to comment.