From 5f32df9e5a6d284c89913d754f1d60858afcfe72 Mon Sep 17 00:00:00 2001 From: colemanw <coleman@civicrm.org> Date: Thu, 15 Jun 2023 11:16:57 -0400 Subject: [PATCH] Update call to renamed mailing BAO --- wp-rest/Controller/Url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-rest/Controller/Url.php b/wp-rest/Controller/Url.php index 0c8b091..e2e603b 100644 --- a/wp-rest/Controller/Url.php +++ b/wp-rest/Controller/Url.php @@ -55,7 +55,7 @@ public function get_item($request) { $params = apply_filters('civi_wp_rest/controller/url/params', $this->get_formatted_params($request), $request); // Track URL. - $url = \CRM_Mailing_Event_BAO_MailingEventClickThrough::track($params['queue_id'], $params['url_id']); + $url = \CRM_Mailing_Event_BAO_MailingEventTrackableURLOpen::track($params['queue_id'], $params['url_id']); /** * Filter URL.