victorteokw/seedgoose

Class constructor ObjectId cannot be invoked without 'new'

Thomas-Hummel opened this issue · 0 comments

In genericSeed.js on line 119 the code uses mongoose.Types.ObjectId(), but the latest version of mongoose now requires the use of new when using the command. Running seedgoose with the latest version of mongoose now fails on this line.