fix_bug: pushEntityActionToRuleEngine endpoint if tenantId == null
This commit is contained in:
parent
6445fec439
commit
b436a05c33
@ -198,7 +198,7 @@ public class EntityActionService {
|
||||
}
|
||||
}
|
||||
TbMsg tbMsg = TbMsg.newMsg(msgType, entityId, customerId, metaData, TbMsgDataType.JSON, json.writeValueAsString(entityNode));
|
||||
if (tenantId.isNullUid()) {
|
||||
if (tenantId == null || tenantId.isNullUid()) {
|
||||
if (entity instanceof HasTenantId) {
|
||||
tenantId = ((HasTenantId) entity).getTenantId();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user