FIxing configure.

This commit is contained in:
stephb9959
2021-05-27 09:09:03 -07:00
parent 4b6777373a
commit b233b6f555
3 changed files with 7 additions and 9 deletions

View File

@@ -282,8 +282,7 @@ void RESTAPI_device_commandHandler::Configure(Poco::Net::HTTPServerRequest& Requ
Params.set(uCentral::uCentralProtocol::SERIAL, SerialNumber_ );
Params.set(uCentral::uCentralProtocol::UUID, NewUUID);
Params.set(uCentral::uCentralProtocol::WHEN, When);
Cfg.to_json(CfgObj);
Params.set(uCentral::uCentralProtocol::CONFIG, CfgObj);
Params.set(uCentral::uCentralProtocol::CONFIG, Cfg.to_json());
std::cout << __LINE__ << std::endl;
std::stringstream ParamStream;