File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ If you want to make sure that persistent attributes added **inside the handler f
308
308
logger.debug('This is a DEBUG log');
309
309
};
310
310
311
- // Enable the clean state flag
311
+ // Enable the clear state flag
312
312
export const handler = middy(lambdaHandler)
313
313
.use(injectLambdaContext(logger, { clearState: true }));
314
314
```
@@ -330,7 +330,7 @@ If you want to make sure that persistent attributes added **inside the handler f
330
330
});
331
331
332
332
class Lambda implements LambdaInterface {
333
- // Enable the clean state flag
333
+ // Enable the clear state flag
334
334
@logger.injectLambdaContext({ clearState: true })
335
335
public async handler(_event: any, _context: any): Promise<void> {
336
336
// Persistent attributes added inside the handler will NOT be cached
You can’t perform that action at this time.
0 commit comments