From 541ea823fa6054e48dd2995500e6f6871ee7249c Mon Sep 17 00:00:00 2001 From: ibnu Date: Thu, 6 Apr 2023 09:46:05 +0700 Subject: [PATCH] update code success when store data --- app/Http/Controllers/HierarchyFtthController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Controllers/HierarchyFtthController.php b/app/Http/Controllers/HierarchyFtthController.php index a18c33f..5790514 100644 --- a/app/Http/Controllers/HierarchyFtthController.php +++ b/app/Http/Controllers/HierarchyFtthController.php @@ -39,6 +39,8 @@ class HierarchyFtthController extends Controller $hierarchyFtth = HierarchyFtth::create($attributes); return response()->json([ + 'status'=>'success', + 'code' => 200, 'message' => 'Hierarchy FTTH created successfully.', 'data' => $hierarchyFtth ],200);