From 0cb1d1c9259338b0eea8899e8b9d68e594d3efdc Mon Sep 17 00:00:00 2001 From: Marc Michalsky forumZFD Date: Tue, 9 Feb 2021 16:40:39 +0100 Subject: [PATCH] add project_id as parameter to TwingleEvent.sync --- api/v3/TwingleEvent/Sync.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/api/v3/TwingleEvent/Sync.php b/api/v3/TwingleEvent/Sync.php index 790fb4c..1b163c6 100644 --- a/api/v3/TwingleEvent/Sync.php +++ b/api/v3/TwingleEvent/Sync.php @@ -27,6 +27,13 @@ function _civicrm_api3_twingle_event_Sync_spec(array &$spec) { 'api.required' => 0, 'description' => E::ts('Twingle ID for this Event'), ]; + $spec['project_id'] = [ + 'name' => 'project_id', + 'title' => E::ts('Twingle Project ID'), + 'type' => CRM_Utils_Type::T_INT, + 'api.required' => 0, + 'description' => E::ts('Twingle ID for this project'), + ]; $spec['is_test'] = [ 'name' => 'is_test', 'title' => E::ts('Test'),