Skip to content

Commit

Permalink
Updated authorization header and query string
Browse files Browse the repository at this point in the history
  • Loading branch information
muvashi committed May 10, 2024
1 parent 5f1fdc0 commit d4a6172
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -309,7 +309,7 @@ class MyCustomInterceptor: URLRequestInterceptor {
var request = request
do {
let token = try await latestAuthToken()
request.setValue(token, forHTTPHeaderField: "authorization")
request.setValue(token, forHTTPHeaderField: "authorization")
} catch {
throw APIError.operationError("Failed to retrieve Cognito UserPool token.", "", error)
}
Expand Down

0 comments on commit d4a6172

Please sign in to comment.