fix failure to return after calling callback

This commit is contained in:
Steve-Mcl 2023-06-17 22:44:55 +01:00
parent 31bc99cd61
commit 502dacd865
1 changed files with 1 additions and 0 deletions

View File

@ -568,6 +568,7 @@ function getSetting(node, name, flow_, callback) {
} }
if (result) { if (result) {
callback(null, result.val); callback(null, result.val);
return
} }
name = newName; name = newName;
flow.getSetting(name, callback); flow.getSetting(name, callback);