Skip to content

Commit 1aa4a0d

Browse files
Merge pull request #1830 from Tony133/docs/caching-update
docs(caching): improvement
2 parents 01a513f + 4cc0902 commit 1aa4a0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/techniques/caching.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { AppController } from './app.controller';
2525
imports: [CacheModule.register()],
2626
controllers: [AppController],
2727
})
28-
export class ApplicationModule {}
28+
export class AppModule {}
2929
```
3030

3131
#### Interacting with the Cache store
@@ -113,7 +113,7 @@ import { APP_INTERCEPTOR } from '@nestjs/core';
113113
},
114114
],
115115
})
116-
export class ApplicationModule {}
116+
export class AppModule {}
117117
```
118118

119119
#### Customize caching
@@ -224,7 +224,7 @@ import { AppController } from './app.controller';
224224
],
225225
controllers: [AppController],
226226
})
227-
export class ApplicationModule {}
227+
export class AppModule {}
228228
```
229229
230230
#### Async configuration

0 commit comments

Comments
 (0)