Skip to content

Commit 64eae09

Browse files
committed
fix 3.20
1 parent 9d28f55 commit 64eae09

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
@@ -189,7 +189,7 @@ Add validation to your phonebook application, which will make sure that phone nu
189189

190190
Use a [Custom validator](https://mongoosejs.com/docs/validation.html#custom-validators) to implement the second part of the validation.
191191

192-
If an HTTP POST request tries to add a name that is already in the phonebook, the server must respond with an appropriate status code and error message.
192+
If an HTTP POST request tries to add a person with an invalid phone number, the server should respond with an appropriate status code and error message.
193193

194194
#### 3.21 Deploying the database backend to production
195195

0 commit comments

Comments
 (0)