Skip to content

Commit cdd024a

Browse files
authored
Merge pull request #2861 from chriscodes17/patch-2
Update part3c.md
2 parents 52d5b13 + ccf4303 commit cdd024a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/3/en/part3c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ One way to format the objects returned by Mongoose is to [modify](https://stacko
400400

401401
To modify the method we need to change the configurable options of the schema, options can be changed using the set method of the schema, see here for more info on this method: https://mongoosejs.com/docs/guide.html#options. See <https://mongoosejs.com/docs/guide.html#toJSON> and <https://mongoosejs.com/docs/api.html#document_Document-toObject> for more info on the _toJSON_ option.
402402

403-
see <https://mongoosejs.com/docs/api.html#transform> for more info on the _transform_ function.
403+
see <https://mongoosejs.com/docs/api/document.html#transform> for more info on the _transform_ function.
404404

405405
```js
406406
noteSchema.set('toJSON', {

0 commit comments

Comments
 (0)