mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
no message
This commit is contained in:
1 parent
3fcf191cef
commit
bf323c2973
1 file changed
+2
-2
@@ -65,7 +65,7 @@ class SubTaskController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'subtasks' => $subtasks
|
'subtasks' => SubTaskResource::collection($subtasks)
|
||||||
], 200);
|
], 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -188,7 +188,7 @@ class SubTaskController extends Controller
|
|||||||
|
|
||||||
// syncnutie timeblocks
|
// syncnutie timeblocks
|
||||||
$subtask->syncTimeblocks($data['data']['timeblocks']);
|
$subtask->syncTimeblocks($data['data']['timeblocks']);
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'message' => 'Subtask updated successfully',
|
'message' => 'Subtask updated successfully',
|
||||||
'subtask' => new SubTaskResource($subtask)
|
'subtask' => new SubTaskResource($subtask)
|
||||||
|
|||||||
Reference in new issue
Block a user