diff --git a/server/SHServ/Middleware/ControlScripts.php b/server/SHServ/Middleware/ControlScripts.php index 034fbdb..39dd663 100644 --- a/server/SHServ/Middleware/ControlScripts.php +++ b/server/SHServ/Middleware/ControlScripts.php @@ -12,7 +12,7 @@ protected static $regular_scripts = []; protected static $actions_scripts = []; protected static $sync_map_storage = [ - "connection" => [], + "connections" => [], ]; abstract public function register_sync_map(): void; @@ -160,7 +160,7 @@ } protected function add_sync_connection(Array $sync_connection) { - self::$sync_map_storage["connection"][] = $sync_connection; + self::$sync_map_storage["connections"][] = $sync_connection; } public function sync_map() {