headless_lms_server::programs::mailchimp_syncer

Function sync_contacts

Source
async fn sync_contacts(
    conn: &mut PgConnection,
    _config: &SyncerConfig,
    process_unsubscribes: bool,
) -> Result<()>
Expand description

Synchronizes the user contacts with Mailchimp. Added a boolean flag to determine whether to process unsubscribes.