salix/modules/client/back/models/recovery.js

6 lines
175 B
JavaScript

module.exports = function(Self) {
require('../methods/recovery/hasActiveRecovery')(Self);
Self.validatesPresenceOf('period', {message: 'Period cannot be blank'});
};