|
|
@ -632,7 +632,12 @@ function fulcrm_campaign_admin_campaign_sync_form_submit( $form, &$form_state )
|
|
|
|
$fulcrm_type = fulcrm_apiv2_url_to_type( $url );
|
|
|
|
$fulcrm_type = fulcrm_apiv2_url_to_type( $url );
|
|
|
|
$fulcrm_pk = fulcrm_apiv2_url_to_pk( $url );
|
|
|
|
$fulcrm_pk = fulcrm_apiv2_url_to_pk( $url );
|
|
|
|
|
|
|
|
|
|
|
|
fulcrm_webhook_set_mapping( 'fulcrm_campaign', 'fulcrm_campaign', $fcid, $fulcrm_type, $fulcrm_pk );
|
|
|
|
fulcrm_webhook_set_entity_mapping( $entity_type = 'fulcrm_campaign',
|
|
|
|
|
|
|
|
$bundle = 'fulcrm_campaign',
|
|
|
|
|
|
|
|
$entity_id = $fcid,
|
|
|
|
|
|
|
|
$fulcrm_type = $fulcrm_type,
|
|
|
|
|
|
|
|
$fulcrm_pk = $fulcrm_pk,
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|