Skip to content

Commit

Permalink
refactor: Removed ? from response.headers.get('content_type') | ''
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoë Maas committed Jan 9, 2025
1 parent 1217bb2 commit cd9d985
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ export class DidAuthSiopOpAuthenticator implements IAgentPlugin {
context,
)

const contentType = response?.headers.get('content-type') || ''
const contentType = response.headers.get('content-type') || ''
let responseBody: any = null

const text = await response.text()
Expand Down

0 comments on commit cd9d985

Please sign in to comment.