mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): favouriteFoods to favoriteFoods (#49563)
Change mongodb lesson wording from English English to American English
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ Create a person schema called `personSchema` with the following shape:
|
||||
|
||||
* A required `name` field of type `String`
|
||||
* An `age` field of type `Number`
|
||||
* A `favouriteFoods` field of type `[String]`
|
||||
* A `favoriteFoods` field of type `[String]`
|
||||
|
||||
Use the Mongoose basic schema types. If you want you can also add more fields, use simple validators like required or unique, and set default values. See our <a href="https://www.freecodecamp.org/news/introduction-to-mongoose-for-mongodb-d2a7aa593c57/" target="_blank" rel="noopener noreferrer nofollow">Mongoose article</a>.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user