Refactored service user profiles functionality from utils/ to its own service-user-profiles module
Added a catch for mailchimp profile not found error - now creates a mailchimp account if failed to update profile on 404
Prevent unnecessary updates to mailchimp and crisp accounts if the only change to the user profile is lastActiveAt and the users profile was already updated today. Mailchimps lastActiveAt field only holds the date as there is no date/time type available - meaning any subsequent updates to this field are redundant
What changes did you make?
utils/
to its ownservice-user-profiles
modulelastActiveAt
and the users profile was already updated today. MailchimpslastActiveAt
field only holds the date as there is no date/time type available - meaning any subsequent updates to this field are redundant