diff --git a/example/UserModel.js b/example/UserModel.js index ec0fd23..7dea9ae 100644 --- a/example/UserModel.js +++ b/example/UserModel.js @@ -81,7 +81,7 @@ var Concoction = require('concoction'); } }, hooks: { - beforeCreate: function (done) { + creating: function (done) { var item = this; item._id = item.username;