Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 7e021e6

Browse files
author
Chris Wiechmann
committed
Update actions.js
1 parent 2dff211 commit 7e021e6

File tree

1 file changed

+2
-1
lines changed
  • apibuilder4elastic/custom_flow_nodes/api-builder-plugin-axway-api-management/src

1 file changed

+2
-1
lines changed

apibuilder4elastic/custom_flow_nodes/api-builder-plugin-axway-api-management/src/actions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ async function lookupAPIDetails(params, options) {
105105
const { logger } = options;
106106
cache = options.pluginContext.cache;
107107
pluginConfig = options.pluginConfig;
108+
var proxies;
108109
if (!apiPath) {
109110
throw new Error('You must provide the apiPath that should be used to lookup the API.');
110111
}
@@ -120,7 +121,7 @@ async function lookupAPIDetails(params, options) {
120121
}
121122
logger.info(`No API-Details found in cache using key: '${cacheKey}'. Trying to lookup API locally.`);
122123
try {
123-
var proxies = await _getAPILocalProxies(params, options);
124+
proxies = await _getAPILocalProxies(params, options);
124125
} catch (ex) {
125126
logger.warn(`Error looking up API locally. ${JSON.stringify(ex)}`);
126127
}

0 commit comments

Comments
 (0)