Skip to content

Commit

Permalink
fix: syntax on redacted headers
Browse files Browse the repository at this point in the history
  • Loading branch information
rflihxyz committed Dec 17, 2024
1 parent 56ee3e7 commit 90b905f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/api/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { FileStorageModule } from './filestorage/filestorage.module';
import { MarketingAutomationModule } from './marketingautomation/marketingautomation.module';
import { CoreSharedModule } from '@@core/@core-services/module';
import { EcommerceModule } from '@ecommerce/ecommerce.module';
import path from 'path';

@Module({
imports: [
Expand Down Expand Up @@ -43,7 +44,7 @@ import { EcommerceModule } from '@ecommerce/ecommerce.module';
commit_id: process.env.GIT_COMMIT_ID,
}),
redact: {
paths: ['req.headers.authorization', 'req.headers.x-api-key'],
paths: ["req.headers.authorization", 'path["req.headers.x-api-key"]'],
remove: false
},
transport:
Expand Down

0 comments on commit 90b905f

Please sign in to comment.