From a1ca468ccb2097355050b39e2aba6160239a6315 Mon Sep 17 00:00:00 2001 From: moT01 <20648924+moT01@users.noreply.github.com> Date: Wed, 2 Sep 2020 10:41:37 -0500 Subject: [PATCH 1/2] fix: make lesson 4 instructions clearer --- myApp.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/myApp.js b/myApp.js index 3cce76b..b0a8dda 100644 --- a/myApp.js +++ b/myApp.js @@ -90,8 +90,9 @@ var createAndSavePerson = function(done) { // e.g. when seeding a database with initial data. `Model.create()` // takes an array of objects like [{name: 'John', ...}, {...}, ...], // as the 1st argument, and saves them all in the db. -// Create many people using `Model.create()`, using the function argument -// 'arrayOfPeople'. +// Modify the createManyPeople function to create many people through +// Model.create() and the argument arrayOfPeople. +// (You can reuse the model you instantiated in the previous exercise) var createManyPeople = function(arrayOfPeople, done) { From 613281bff2947e2d7ffc0d3cfc0c143826fc9788 Mon Sep 17 00:00:00 2001 From: moT01 <20648924+moT01@users.noreply.github.com> Date: Wed, 2 Sep 2020 14:35:36 -0500 Subject: [PATCH 2/2] fix: update text to align with new changes on learn --- myApp.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/myApp.js b/myApp.js index b0a8dda..90bc218 100644 --- a/myApp.js +++ b/myApp.js @@ -90,9 +90,9 @@ var createAndSavePerson = function(done) { // e.g. when seeding a database with initial data. `Model.create()` // takes an array of objects like [{name: 'John', ...}, {...}, ...], // as the 1st argument, and saves them all in the db. -// Modify the createManyPeople function to create many people through -// Model.create() and the argument arrayOfPeople. -// (You can reuse the model you instantiated in the previous exercise) +// Modify the createManyPeople function to create many people using +// Model.create() with the argument arrayOfPeople. +// Note: You can reuse the model you instantiated in the previous exercise. var createManyPeople = function(arrayOfPeople, done) {