Fix mqtt config dumping to include content root
parent
95adfcf6aa
commit
9dd8fa1d8d
|
@ -71,7 +71,7 @@ def get_mqtt_endpoints(config):
|
|||
class MqttConfigResource(ProtectedResource):
|
||||
@swag_from('swagger/get_mqtt_config_spec.yaml')
|
||||
def get(self):
|
||||
return {
|
||||
return MqttConfigSchema().dump({
|
||||
'broker': get_mqtt_broker_info(app.config),
|
||||
'endpoints': get_mqtt_endpoints(app.config)
|
||||
}, 200
|
||||
}), 200
|
||||
|
|
Loading…
Reference in New Issue