diff --git a/src-python/webui_controller.py b/src-python/webui_controller.py index 9d9eb932..f10a63fb 100644 --- a/src-python/webui_controller.py +++ b/src-python/webui_controller.py @@ -751,11 +751,7 @@ def callbackSetMicDevice(data, *args, **kwargs) -> dict: printLog("Set Mic Device", data) config.CHOICE_MIC_DEVICE = data model.stopCheckMicEnergy() - return {"status":200, - "result":{ - "host":config.CHOICE_MIC_HOST, - }, - } + return {"status":200, "result":config.CHOICE_MIC_DEVICE} def callbackSetMicEnergyThreshold(data, *args, **kwargs) -> dict: printLog("Set Mic Energy Threshold", data)