diff options
author | Maxim Devaev <[email protected]> | 2025-01-05 15:19:04 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2025-01-05 15:19:04 +0200 |
commit | 4488365dfbbf7b35cd7b27f0392768e273cd271d (patch) | |
tree | fc91746f67bcfed4b62e10738ae07d6a08547db1 /kvmd/apps/pst/server.py | |
parent | 5a61ddecd3a6fadb71464cc32823e63a8009fb2b (diff) |
removed _state suffix from all ws events
Diffstat (limited to 'kvmd/apps/pst/server.py')
-rw-r--r-- | kvmd/apps/pst/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/pst/server.py b/kvmd/apps/pst/server.py index d96043b3..ddeccc41 100644 --- a/kvmd/apps/pst/server.py +++ b/kvmd/apps/pst/server.py @@ -129,7 +129,7 @@ class PstServer(HttpServer): # pylint: disable=too-many-arguments,too-many-inst await self.__notifier.wait() async def __broadcast_storage_state(self, clients: int, write_allowed: bool) -> None: - await self._broadcast_ws_event("storage_state", { + await self._broadcast_ws_event("storage", { "clients": clients, "data": { "path": self.__data_path, |