mirror of
https://github.com/rightup/pyMC_Repeater.git
synced 2026-05-04 12:42:16 +02:00
fix(QOL): reordered mqtt yaml config so names are first.
This commit is contained in:
@@ -1095,8 +1095,8 @@ class APIEndpoints:
|
||||
return self._error(f"Broker at index {i} has invalid port")
|
||||
|
||||
new_broker = {
|
||||
"enabled": b.get("enabled", False),
|
||||
"name": str(b["name"]).strip(),
|
||||
"enabled": b.get("enabled", False),
|
||||
"transport": str(b.get("transport", "websockets")).strip(),
|
||||
"host": str(b["host"]).strip(),
|
||||
"port": port,
|
||||
|
||||
Reference in New Issue
Block a user