Fix code following enlightn recommendation

This commit is contained in:
Amir
2022-11-14 19:54:16 +08:00
parent afacd4d374
commit f994326dce
18 changed files with 14 additions and 28 deletions
+3 -2
View File
@@ -49,8 +49,9 @@ class CartController extends Controller
$carts[$index]['datalelongbid']['cawangan'] = $cawangan;
}
return response()->json($carts);
return response()->json([
"carts" => $carts
]);
}
public function getCartByCawangan($userId)