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
parent 951388797a
commit c6c1849106
1 changed files with 1 additions and 1 deletions

View File

@ -818,7 +818,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();