fix: remove redundant bracket-notation redact path

Dot notation already covers the same key; bracket notation is a duplicate.
This commit is contained in:
plind-dm
2026-04-04 01:33:08 +09:00
parent 2af64b6068
commit 112eeafd62
+1 -1
View File
@@ -28,7 +28,7 @@ const sharedOpts = {
export const logger = pino({
level: "debug",
redact: ["req.headers.authorization", "req.headers[\"authorization\"]"],
redact: ["req.headers.authorization"],
}, pino.transport({
targets: [
{