[Update/bugfix] To get software version.(show it to the console for now.)

fix the error that was wrong amount arguments.
This commit is contained in:
Sakamoto Shiina
2024-08-08 16:36:40 +09:00
parent e9de5df8a5
commit e8fd6b724d
8 changed files with 66 additions and 8 deletions

View File

@@ -193,7 +193,7 @@ action_mapping = {
"/controller/callback_enable_check_mic_threshold": {"mic":"/action/check_mic_threshold_energy"},
}
def handleConfigRequest(endpoint):
def handleConfigRequest(endpoint, _data):
handler = config_mapping.get(endpoint)
if handler is None:
response = "Invalid endpoint"