From 7ffa447cbc7dfbb91b588fd0e39fef116735f4cb Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Mon, 1 Jan 2024 18:57:12 +0000 Subject: [PATCH] remove logs --- src/main/resources/static/js/pipeline.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/resources/static/js/pipeline.js b/src/main/resources/static/js/pipeline.js index 4487c588..079f2503 100644 --- a/src/main/resources/static/js/pipeline.js +++ b/src/main/resources/static/js/pipeline.js @@ -243,15 +243,12 @@ document.getElementById('addOperationBtn').addEventListener('click', function() if (apiDocs[selectedOperation] && apiDocs[selectedOperation].post) { const postMethod = apiDocs[selectedOperation].post; - console.log("hasSettings", hasSettings); // Check if parameters exist if (postMethod.parameters && postMethod.parameters.length > 0) { hasSettings = true; - console.log("hasSettings2", hasSettings); } else if (postMethod.requestBody && postMethod.requestBody.content['multipart/form-data']) { // Extract the reference key const refKey = postMethod.requestBody.content['multipart/form-data'].schema['$ref'].split('/').pop(); - console.log("hasSettings3 ", hasSettings, refKey); // Check if the referenced schema exists and has properties more than just its input file if (apiSchemas[refKey]) { const properties = apiSchemas[refKey].properties; @@ -260,7 +257,6 @@ document.getElementById('addOperationBtn').addEventListener('click', function() // Check if there's more than one property or if there's exactly one property and its format is not 'binary' if (propertyKeys.length > 1 || (propertyKeys.length === 1 && properties[propertyKeys[0]].format !== 'binary')) { hasSettings = true; - console.log("hasSettings4", hasSettings); } } }