diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 49ddeb2e..af990638 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,5 +3,4 @@ updates: - package-ecosystem: pip directory: /main/xiaozhi-server schedule: - interval: monthly - day: 7 + interval: weekly \ No newline at end of file diff --git a/main/xiaozhi-server/core/api/ota_handler.py b/main/xiaozhi-server/core/api/ota_handler.py index d3d37348..b6c88dff 100644 --- a/main/xiaozhi-server/core/api/ota_handler.py +++ b/main/xiaozhi-server/core/api/ota_handler.py @@ -140,7 +140,7 @@ class OTAHandler(BaseHandler): self.logger.bind(tag=TAG).warning("缺少MQTT签名密钥,密码留空") # 构建MQTT配置(直接使用 mqtt_gateway 字符串) - return_json["mqtt_gateway"] = { + return_json["mqtt"] = { "endpoint": mqtt_gateway_endpoint, "client_id": mqtt_client_id, "username": username,