/hid/state -> /hid

This commit is contained in:
Devaev Maxim 2020-02-17 08:05:57 +03:00
parent 5e9c110ef6
commit d732b4f518

View File

@ -45,7 +45,7 @@ class HidApi:
# =====
@exposed_http("GET", "/hid/state")
@exposed_http("GET", "/hid")
async def __state_handler(self, _: aiohttp.web.Request) -> aiohttp.web.Response:
return make_json_response(self.__hid.get_state())