From 973aefd508538b0d31174fcf7e3d2125410c9002 Mon Sep 17 00:00:00 2001 From: Aidan Saunders Date: Wed, 2 Sep 2020 19:54:53 +0100 Subject: [PATCH] Fix spec labels - see dev/mail#24, item 1 --- api/v3/MailingEventSubscribe.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v3/MailingEventSubscribe.php b/api/v3/MailingEventSubscribe.php index 92a8795bdb..7046fe166e 100644 --- a/api/v3/MailingEventSubscribe.php +++ b/api/v3/MailingEventSubscribe.php @@ -66,12 +66,12 @@ function civicrm_api3_mailing_event_subscribe_create($params) { function _civicrm_api3_mailing_event_subscribe_create_spec(&$params) { $params['email'] = [ 'api.required' => 1, - 'title' => 'Unsubscribe Email', + 'title' => 'Subscribe Email', 'type' => CRM_Utils_Type::T_STRING, ]; $params['group_id'] = [ 'api.required' => 1, - 'title' => 'Unsubscribe From Group', + 'title' => 'Subscribe To Group', 'type' => CRM_Utils_Type::T_INT, ]; } -- 2.25.1