added json wrapper for displays
This commit is contained in:
@@ -226,7 +226,7 @@ boost::optional<Poco::JSON::Object> OutputRequestHandler::parseDisplay(const std
|
||||
Poco::JSON::Object response;
|
||||
if(display_name == "")
|
||||
{
|
||||
response.set("displays", this->output_driver->get_displays());
|
||||
response.set("displays", getItemArray(this->output_driver->get_displays()));
|
||||
return response;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user