Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariano Goldman committed Feb 16, 2024
1 parent eafc876 commit 89b91ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/src/controller/handlers/create-entity-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ export async function createEntity(

if (issues) {
console.log(`${prefix()} headers: ${context.request.headers}`)
console.log(`${prefix()} referer: ${context.request.headers['referer']}`)
console.log(`${prefix()} user-agent: ${context.request.headers['user-agent']}`)
console.log(`${prefix()} referer: ${context.request.headers.get('referer')}`)
console.log(`${prefix()} user-agent: ${context.request.headers.get('user-agent')}`)
}
}

Expand Down

0 comments on commit 89b91ed

Please sign in to comment.