Change checkable with the endpoint zone for execute command relay message

This commit is contained in:
Mattia Codato 2020-08-04 14:32:36 +02:00 committed by Noah Hilverling
parent 5134eca2ab
commit 1253aa07e4

View File

@ -788,7 +788,7 @@ Dictionary::Ptr ApiActions::ExecuteCommand(const ConfigObject::Ptr& object,
execMessage->Set("method", "event::ExecuteCommand");
execMessage->Set("params", execParams);
listener->RelayMessage(origin, checkable, execMessage, true);
listener->RelayMessage(origin, endpointPtr->GetZone(), execMessage, true);
}
Dictionary::Ptr result = new Dictionary();