Skip to content

Commit

Permalink
Merge pull request #13998 from suzuki/fix/doc-plungins
Browse files Browse the repository at this point in the history
fix(document): fix differences between sample codes and documentation
  • Loading branch information
vkarpov15 authored Oct 25, 2023
2 parents e7a1d6d + c5f75bc commit 4d084e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const playerSchema = new Schema({ /* ... */ });
playerSchema.plugin(loadedAtPlugin);
```

We just added last-modified behavior to both our `Game` and `Player` schemas and declared an index on the `lastMod` path of our Games to boot. Not bad for a few lines of code.
We just added loaded-time behavior to both our `Game` and `Player` schemas and declared an index on the `loadedAt` path of our Games to boot. Not bad for a few lines of code.

<h2 id="global"><a href="#global">Global Plugins</a></h2>

Expand Down

0 comments on commit 4d084e9

Please sign in to comment.