Skip to content

Commit

Permalink
unredact authorizations
Browse files Browse the repository at this point in the history
  • Loading branch information
jesmrec committed Dec 15, 2023
1 parent 69eb177 commit 8bf72f6
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ class LogInterceptor : Interceptor {

private fun logHeaders(headers: Headers): Map<String, String> {
val auxHeaders = headers.toMap().toMutableMap()
if (auxHeaders.contains(AUTHORIZATION_HEADER)) {
auxHeaders[AUTHORIZATION_HEADER] = "[redacted]"
}
return auxHeaders
}

Expand Down

0 comments on commit 8bf72f6

Please sign in to comment.