File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const logger = new Logger({
8
8
9
9
class Lambda implements LambdaInterface {
10
10
@logger . injectLambdaContext ( {
11
- ccorrelationIdPath : 'headers.my_request_id_header' ,
11
+ correlationIdPath : 'headers.my_request_id_header' ,
12
12
} )
13
13
public async handler ( _event : unknown , _context : unknown ) : Promise < void > {
14
14
logger . info ( 'This is an INFO log with some context' ) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const logger = new Logger({
11
11
12
12
class Lambda implements LambdaInterface {
13
13
@logger . injectLambdaContext ( {
14
- ccorrelationIdPath : correlationPaths . API_GATEWAY_REST ,
14
+ correlationIdPath : correlationPaths . API_GATEWAY_REST ,
15
15
} )
16
16
public async handler ( _event : unknown , _context : unknown ) : Promise < void > {
17
17
logger . info ( 'This is an INFO log with some context' ) ;
You can’t perform that action at this time.
0 commit comments