summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvmd/apps/kvmd/api/wol.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/kvmd/api/wol.py b/kvmd/apps/kvmd/api/wol.py
index 01f273a8..195cf640 100644
--- a/kvmd/apps/kvmd/api/wol.py
+++ b/kvmd/apps/kvmd/api/wol.py
@@ -37,10 +37,10 @@ class WolApi:
# =====
@exposed_http("GET", "/wol")
- async def __wol_state_handler(self, _: Request) -> Response:
+ async def __state_handler(self, _: Request) -> Response:
return make_json_response(self.__wol.get_state())
@exposed_http("POST", "/wol/wakeup")
- async def __wol_wakeup_handler(self, _: Request) -> Response:
+ async def __wakeup_handler(self, _: Request) -> Response:
await self.__wol.wakeup()
return make_json_response()