updates
This commit is contained in:
@@ -46,7 +46,7 @@ module.exports = function(RED) {
|
||||
}
|
||||
try {
|
||||
const nodeConfig = cfgMgr.getConfig(nameOfNode);
|
||||
const registrationDefaults = (nodeConfig && nodeConfig.assetRegistration) || {};
|
||||
const registrationDefaults = (nodeConfig && nodeConfig.assetRegistration && nodeConfig.assetRegistration.default) || {};
|
||||
const result = await assetUtils.syncAsset({
|
||||
assetSelection: assetPayload,
|
||||
registrationDefaults,
|
||||
|
||||
Reference in New Issue
Block a user