Browse Source

add type & description

visuddhinanda 1 year ago
parent
commit
476a58c641
1 changed files with 2 additions and 0 deletions
  1. 2 0
      api-v8/app/Http/Controllers/TaskGroupController.php

+ 2 - 0
api-v8/app/Http/Controllers/TaskGroupController.php

@@ -65,6 +65,8 @@ class TaskGroupController extends Controller
                     'id' => Str::uuid(),
                     'id' => Str::uuid(),
                     'old_id' => $task['id'],
                     'old_id' => $task['id'],
                     'title' => $task['title'],
                     'title' => $task['title'],
+                    'type' => $task['type'],
+                    'description' => $task['description'],
                     'order' => $task['order'],
                     'order' => $task['order'],
                     'parent_id' => $task['parent_id'],
                     'parent_id' => $task['parent_id'],
                     'project_id' => $project['project_id'],
                     'project_id' => $project['project_id'],