Browse Source

Merge pull request 'code status' (#19) from Dev-Farhan into staging

Reviewed-on: ordo/adw-backend#19
Reviewed-by: ibnu <ibnu@mail.com>
pull/3/head
ibnu 2 years ago
parent
commit
e4e9e1212b
  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