changes in event
This commit is contained in:
@@ -24,7 +24,7 @@ Event::Event(uint8_t address, int priority, std::string name) :
|
|||||||
std::string Event::getJsonString()
|
std::string Event::getJsonString()
|
||||||
{
|
{
|
||||||
nlohmann::json json;
|
nlohmann::json json;
|
||||||
|
|
||||||
json["name"] = this->name;
|
json["name"] = this->name;
|
||||||
json["address"] = this->address;
|
json["address"] = this->address;
|
||||||
json["priority"] = this->priority;
|
json["priority"] = this->priority;
|
||||||
|
|||||||
Reference in New Issue
Block a user