Most of the Sails/Waterline lifecycle callbacks should have two parameters: values
which is an object containing values of the record's fields and cb
which is a callback to be called once everything is done. So, the right signature would be:
beforeCreate: function (values, cb) { ... }
See Waterline readme for all lifecycle callback signatures.