andre hace 7 meses
padre
commit
ab1c35754d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      controllers/SiteController.php

+ 1 - 1
controllers/SiteController.php

@@ -100,7 +100,7 @@ class SiteController {
             return;
             return;
         }
         }
 
 
-        echo json_encode(['success' => 'Production site enabled successfully'], $data);
+        echo json_encode(['success' => 'Production site enabled successfully', 'data' => $data]);
     }
     }
 
 
     public static function revert($data): void {
     public static function revert($data): void {