Skip to content

Commit d049b45

Browse files
authored
Merge pull request #15783 from isnifer/patch-1
docs: Add closing backticks to code block in migration guide
2 parents be6a2c8 + 2c13859 commit d049b45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/migrating_to_9.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ mongoose.isValidObjectId(6);
112112

113113
// Works in Mongoose 8, throws in Mongoose 9
114114
new mongoose.Types.ObjectId(6);
115+
```
115116

116117
## Subdocument `deleteOne()` hooks execute only when subdocument is deleted
117118

0 commit comments

Comments
 (0)