Skip to content

Commit 8d1aa36

Browse files
authored
Merge pull request #7900 from sharils/patch-2
Fix casing
2 parents 939660e + 30e8cc8 commit 8d1aa36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Take a look at the example in `examples/schema.js` for an end-to-end example of
134134
Once we define a model through `mongoose.model('ModelName', mySchema)`, we can access it through the same function
135135

136136
```js
137-
const myModel = mongoose.model('ModelName');
137+
const MyModel = mongoose.model('ModelName');
138138
```
139139

140140
Or just do it all at once

0 commit comments

Comments
 (0)