Add debug to client set config
This commit is contained in:
@@ -46,8 +46,9 @@ class DRBCDBAPI(BaseAPI):
|
|||||||
config_data: A ConfigGenerator object representing the configuration data.
|
config_data: A ConfigGenerator object representing the configuration data.
|
||||||
"""
|
"""
|
||||||
# Convert the ConfigGenerator object to a dictionary before sending as JSON
|
# Convert the ConfigGenerator object to a dictionary before sending as JSON
|
||||||
print(f"Generate OP25 config")
|
config_data = config_data.to_dict()
|
||||||
return await self._post("/op25/generate-config", data=config_data.to_dict())
|
print(f"Generate OP25 config", config_data)
|
||||||
|
return await self._post("/op25/generate-config", data=config_data)
|
||||||
|
|
||||||
# --- Pulse Audio Endpoints ---
|
# --- Pulse Audio Endpoints ---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user