diff --git a/content/src/controller/handlers/create-entity-handler.ts b/content/src/controller/handlers/create-entity-handler.ts index 1a3a396bf..48bda6823 100644 --- a/content/src/controller/handlers/create-entity-handler.ts +++ b/content/src/controller/handlers/create-entity-handler.ts @@ -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')}`) } }