Revert "Add callback to getSetting to support async jsonata access"

This commit is contained in:
Nick O'Leary
2023-06-22 10:17:48 +01:00
committed by GitHub
parent 2448e137c8
commit 51a0b68d8e
9 changed files with 90 additions and 287 deletions

View File

@@ -780,7 +780,7 @@ const flowAPI = {
getNode: getNode,
handleError: () => false,
handleStatus: () => false,
getSetting: (k, callback) => flowUtil.getEnvVar(k, callback),
getSetting: k => flowUtil.getEnvVar(k),
log: m => log.log(m)
}