Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaimund Schlüßler <raimund.schluessler@googlemail.com>2015-06-21 01:30:11 +0300
committerRaimund Schlüßler <raimund.schluessler@googlemail.com>2015-06-21 01:30:11 +0300
commit69eedf7c92341d9fc895920ac0f32e9e5baec19f (patch)
tree2340ecc695deddb67964523351b5de964384de03 /service
parent88a6e747415fde029b8313d9302252259046839d (diff)
Fix creation of new task
Diffstat (limited to 'service')
-rw-r--r--service/tasksservice.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/service/tasksservice.php b/service/tasksservice.php
index 7bcdefc8..b33928fa 100644
--- a/service/tasksservice.php
+++ b/service/tasksservice.php
@@ -143,7 +143,9 @@ class TasksService {
$task = Helper::arrayForJSON($taskID, $vcalendar->VTODO, $user_timezone, $calendarId);
$task['tmpID'] = $tmpID;
- return $task;
+ return array(
+ 'task' => $task
+ );
}
/**