loopback before save get user code example
Example: loopback before save
module.exports = function (model) {
model.observe('before save', async function(ctx, next) {
});
};
module.exports = function (model) {
model.observe('before save', async function(ctx, next) {
});
};