From 38fb8afd111b96ff9ba07e3d574d37193247f7ea Mon Sep 17 00:00:00 2001 From: Michal Feher Date: Wed, 15 Feb 2023 11:07:11 +0100 Subject: [PATCH] no message --- be/app/Http/Controllers/SubTaskController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/app/Http/Controllers/SubTaskController.php b/be/app/Http/Controllers/SubTaskController.php index 41401b2..d303f29 100644 --- a/be/app/Http/Controllers/SubTaskController.php +++ b/be/app/Http/Controllers/SubTaskController.php @@ -195,7 +195,7 @@ class SubTaskController extends Controller return response()->json([ 'message' => 'Subtask updated successfully', - 'subtask' => $subtask + 'subtask' => new SubTaskResource($subtask) ]); }