text: import s from 'underscore.string';
  
  import { settings } from '../../../settings';
  import { validateCustomFields, saveCustomFieldsWithoutValidation } from '.';
  
  export const saveCustomFields = function(userId, formData) {
  	console.log('saveCustomFields.Accounts_CustomFields,settings.get(\'Accounts_CustomFields\')', settings.get('Accounts_CustomFields'));
  	if (s.trim(settings.get('Accounts_CustomFields')) !== '') {
  		validateCustomFields(formData);
  		return saveCustomFieldsWithoutValidation(userId, formData);
  	}
  };
  