summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-12-27 04:28:15 +0300
committerDevaev Maxim <[email protected]>2019-12-27 04:28:15 +0300
commite03cc67195eaf80eee9328ccb875a4696e515e91 (patch)
tree7bbf1248918f3cec2132fc97e9492f8bec170a92 /kvmd
parent37738e38e980deb59238757061bec41254e9cfd5 (diff)
fixed POST of /hid/reset
Diffstat (limited to 'kvmd')
-rw-r--r--kvmd/apps/kvmd/api/hid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/kvmd/api/hid.py b/kvmd/apps/kvmd/api/hid.py
index 4dc952ba..0ee726ca 100644
--- a/kvmd/apps/kvmd/api/hid.py
+++ b/kvmd/apps/kvmd/api/hid.py
@@ -49,7 +49,7 @@ class HidApi:
async def __state_handler(self, _: aiohttp.web.Request) -> aiohttp.web.Response:
return make_json_response(self.__hid.get_state())
- @exposed_http("GET", "/hid/reset")
+ @exposed_http("POST", "/hid/reset")
async def __reset_handler(self, _: aiohttp.web.Request) -> aiohttp.web.Response:
await self.__hid.reset()
return make_json_response()