}
} );
return errors.length ? { errors: errors } : record;
if( errors.length ) { record.errors = errors; }
return record;
};
-