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