andre 7 mesi fa
parent
commit
ab1c35754d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      controllers/SiteController.php

+ 1 - 1
controllers/SiteController.php

@@ -100,7 +100,7 @@ class SiteController {
             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 {