Skip to content

Commit c5b5047

Browse files
committed
remove debugging statements
1 parent 359e470 commit c5b5047

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Sources/BedrockService.swift

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,13 @@ public struct BedrockService: Sendable {
169169
}
170170

171171
// support API keys
172-
if case .apiKey(let key) = authentication {
173-
config.httpClientConfiguration.defaultHeaders.add(
174-
name: "Authorization",
175-
value: "Bearer \(key)"
176-
)
172+
if case .apiKey(_) = authentication {
173+
// config.httpClientConfiguration.defaultHeaders.add(
174+
// name: "Authorization",
175+
// value: "Bearer \(key)"
176+
// )
177177
if let bearerTokenIdentityresolver = authentication.getBearerTokenIdentityResolver(logger: logger) {
178178
config.bearerTokenIdentityResolver = bearerTokenIdentityresolver
179-
print(bearerTokenIdentityresolver)
180179
} else {
181180
// TODO: should we throw an error here ?
182181
logger.error(

0 commit comments

Comments
 (0)