lib/centaman/service/create_secondary_member.rb in centaman-4.0.4 vs lib/centaman/service/create_secondary_member.rb in centaman-4.0.5

- old
+ new

@@ -33,12 +33,12 @@ private def build_member(member) { - 'FirstName' => member.first_name.try(:upcase), - 'LastName' => member.last_name.try(:upcase), - 'Title' => member.title.try(:upcase), + 'FirstName' => member.first_name.try(:squish).try(:upcase), + 'LastName' => member.last_name.try(:squish).try(:upcase), + 'Title' => member.title.try(:squish).try(:upcase), 'IsPrimary' => false, 'PrimaryMemberId' => primary_member_id } end