Skip to content

Commit ccf4303

Browse files
authored
Update part3c.md
The link for the transform function lead to a 404 not found page. This fix replaces the non-working URL with a working URL.
1 parent a46fcd3 commit ccf4303

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)