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

Commit 424f61b

Browse files
author
Chris Wiechmann
committed
Using let instead of const
1 parent 30a4d5c commit 424f61b

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* does not define "next", the first defined output).
2020
*/
2121
async function mergeCustomProperties(params, options) {
22-
const { customProperties, desiredIndexTemplate, actualIndexTemplate, customPropertiesSettings } = params;
22+
let { customProperties, desiredIndexTemplate, actualIndexTemplate, customPropertiesSettings } = params;
2323
const { logger } = options;
2424
if (!customProperties) {
2525
throw new Error('Missing required parameter: customProperties');
@@ -54,7 +54,7 @@ async function mergeCustomProperties(params, options) {
5454

5555
function addMapping(customPropertyName, type, actualTemplate, desiredTemplate, customPropertiesSettings) {
5656
if(desiredTemplate == undefined) return false;
57-
debugger;
57+
5858
if(actualTemplate != undefined && actualTemplate.mappings != undefined && actualTemplate.mappings.properties[`customProperties.${customPropertyName}`] != undefined) {
5959
options.logger.info(`Mapping for custom property: ${customPropertyName} already exists. No update required.`);
6060
// Take over the actual custom properties mapping!

0 commit comments

Comments
 (0)