Browse Source

code status

pull/3/head
farhan048 2 years ago
parent
commit
ce78de95a9
  1. 6
      app/Http/Controllers/HierarchyFtthController.php

6
app/Http/Controllers/HierarchyFtthController.php

@ -41,7 +41,7 @@ class HierarchyFtthController extends Controller
return response()->json([ return response()->json([
'message' => 'Hierarchy FTTH created successfully.', 'message' => 'Hierarchy FTTH created successfully.',
'data' => $hierarchyFtth 'data' => $hierarchyFtth
]); ],200);
} catch (\Exception $e) { } catch (\Exception $e) {
return response()->json([ return response()->json([
'message' => 'Failed to create hierarchy FTTH.', 'message' => 'Failed to create hierarchy FTTH.',
@ -72,7 +72,7 @@ class HierarchyFtthController extends Controller
return response()->json([ return response()->json([
'message' => 'Hierarchy FTTH updated successfully.', 'message' => 'Hierarchy FTTH updated successfully.',
'data' => $hierarchyFtth 'data' => $hierarchyFtth
]); ],200);
} catch (\Exception $e) { } catch (\Exception $e) {
return response()->json([ return response()->json([
'message' => 'Failed to update hierarchy FTTH.', 'message' => 'Failed to update hierarchy FTTH.',
@ -90,7 +90,7 @@ class HierarchyFtthController extends Controller
return response()->json([ return response()->json([
'message' => 'Hierarchy FTTH deleted successfully.', 'message' => 'Hierarchy FTTH deleted successfully.',
'data' => $hierarchyFtth 'data' => $hierarchyFtth
]); ],200);
} catch (\Exception $e) { } catch (\Exception $e) {
return response()->json([ return response()->json([
'message' => 'Failed to delete hierarchy FTTH.', 'message' => 'Failed to delete hierarchy FTTH.',

Loading…
Cancel
Save