Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Automattic/mongoose
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Sep 18, 2020
2 parents 014af7d + ee19ea5 commit ebdbe41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/middleware.pug
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ block content
```

This means that you must add all middleware and [plugins](/docs/plugins.html)
**before** calling [`mongoose.model()](/docs/api/mongoose.html#mongoose_Mongoose-model).
**before** calling [`mongoose.model()`](/docs/api/mongoose.html#mongoose_Mongoose-model).
The below script will print out "Hello from pre save":

```javascript
Expand Down

0 comments on commit ebdbe41

Please sign in to comment.