Skip to content

Commit dddf8f6

Browse files
authored
Merge pull request #2893 from ceaweed/ceaweed-patch-update-part3d
Fixed Grammar
2 parents 487b6eb + 9ebea16 commit dddf8f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/3/en/part3d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ When validating an object fails, we return the following default error message f
8585
![postman showing error message](../../images/3/50.png)
8686

8787
We notice that the backend has now a problem: validations are not done when editing a note.
88-
The [documentation](https://github.com/blakehaswell/mongoose-unique-validator#find--updates) explains what is the problem, validations are not run by default when <i>findOneAndUpdate</i> is executed.
88+
The [documentation](https://github.com/blakehaswell/mongoose-unique-validator#find--updates) addresses the issue by explaining that validations are not run by default when <i>findOneAndUpdate</i> is executed.
8989

9090
The fix is easy. Let us also reformulate the route code a bit:
9191

0 commit comments

Comments
 (0)