Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upchore(server): Update to sequelize 4 #2750
Conversation
| }); | ||
| }); | ||
| beforeBulkCreate(users, fields) { | ||
| return sequelize.Promise.map(users, user => user.updatePassword()); |
Awk34
Jul 23, 2018
Member
Does this not work if you just use the global Promise built into Node?
Does this not work if you just use the global Promise built into Node?
| * @api public | ||
| */ | ||
| User.prototype.updatePassword = function() { | ||
| var user = this; |
Awk34
Jul 23, 2018
Member
The alias for this seems unnecessary here
The alias for this seems unnecessary here
Update sequelize to v4 and fix the user model to work with this. Part of #2691
1a3ba73
into
angular-fullstack:master

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Update sequelize to v4 and fix the user model to work with this.
Part of #2691
generator-angular-fullstack$ npm test)