Skip to content

Commit 9cf8b0d

Browse files
authored
FIx Documentation
Update documentation to show that we are targeting the `CatsModule` when using multiple databases
1 parent a5b8181 commit 9cf8b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/mongo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ With this setup, you have to tell the `MongooseModule.forFeature()` function whi
225225
MongooseModule.forFeature([{ name: Cat.name, schema: CatSchema }], 'cats'),
226226
],
227227
})
228-
export class AppModule {}
228+
export class CatsModule {}
229229
```
230230

231231
You can also inject the `Connection` for a given connection:

0 commit comments

Comments
 (0)