From 66cd6b10a0c83e8bb48e883b7cca89708f481673 Mon Sep 17 00:00:00 2001 From: Marc Michalsky forumZFD Date: Tue, 13 Oct 2020 14:58:51 +0200 Subject: [PATCH] add important To do --- api/v3/TwingleSync/BAO/TwingleApiCall.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v3/TwingleSync/BAO/TwingleApiCall.php b/api/v3/TwingleSync/BAO/TwingleApiCall.php index 3177e26..17f1c31 100644 --- a/api/v3/TwingleSync/BAO/TwingleApiCall.php +++ b/api/v3/TwingleSync/BAO/TwingleApiCall.php @@ -296,6 +296,7 @@ class TwingleApiCall { if (is_array($result) && !array_key_exists('message', $result)) { // Try to update the local TwingleProject campaign try { + // TODO: get options and add them as parameter to $project->update() call $project->update($result, TwingleProject::TWINGLE); $project->create(); return $project->getResponse('TwingleProject pushed to Twingle');