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] 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) {