fix(curriculum): favouriteFoods to favoriteFoods (#49563)

Change mongodb lesson wording from English English to American English
This commit is contained in:
John
2023-03-02 22:35:44 +13:00
committed by GitHub
parent 40df14cd16
commit dbf124acf3
@@ -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>.