add important To do

This commit is contained in:
Marc Michalsky forumZFD 2020-10-13 14:58:51 +02:00
parent e5bcb3ec4f
commit 66cd6b10a0
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -296,6 +296,7 @@ class TwingleApiCall {
if (is_array($result) && !array_key_exists('message', $result)) { if (is_array($result) && !array_key_exists('message', $result)) {
// Try to update the local TwingleProject campaign // Try to update the local TwingleProject campaign
try { try {
// TODO: get options and add them as parameter to $project->update() call
$project->update($result, TwingleProject::TWINGLE); $project->update($result, TwingleProject::TWINGLE);
$project->create(); $project->create();
return $project->getResponse('TwingleProject pushed to Twingle'); return $project->getResponse('TwingleProject pushed to Twingle');