From 8e929108af1c3f7628f9db68ae852d37cb5572e2 Mon Sep 17 00:00:00 2001 From: lgromero Date: Wed, 9 Oct 2024 12:19:31 +0200 Subject: [PATCH] refs #812 Changes response output parameter to message in add Dhcp subnet --- src/DhcpBundle/Controller/DhcpController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DhcpBundle/Controller/DhcpController.php b/src/DhcpBundle/Controller/DhcpController.php index e729d03..372b839 100644 --- a/src/DhcpBundle/Controller/DhcpController.php +++ b/src/DhcpBundle/Controller/DhcpController.php @@ -737,7 +737,7 @@ public function addDhcpSubnet(Request $request): JsonResponse }); $responseSuccess = "Subred modificada correctamente"; - return new JsonResponse(['success' => $responseSuccess,'subnet' => reset($updatedSubnet)], 200); + return new JsonResponse(['success' => $responseSuccess,'message' => reset($updatedSubnet)], 200); } } } else {