From 20da347d9ddec1c91cb36baa54e8553b34243850 Mon Sep 17 00:00:00 2001 From: Ege Korkan Date: Tue, 10 Oct 2023 15:41:58 +0200 Subject: [PATCH] web (aid): remove protocol hardcoding from aid conversion --- packages/web-new/src/scripts/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-new/src/scripts/util.js b/packages/web-new/src/scripts/util.js index a8ba6e62e..0a584a3b2 100644 --- a/packages/web-new/src/scripts/util.js +++ b/packages/web-new/src/scripts/util.js @@ -172,7 +172,7 @@ export function generateAAS(fileType, editorInstance){ ? editorInstance.getValue() : convertTDYamlToJson(editorInstance.getValue()) - const AASInstance = assetInterfaceDescriptionUtil.transformTD2SM(tdToConvert, ["http", "coap"]) + const AASInstance = assetInterfaceDescriptionUtil.transformTD2SM(tdToConvert) try { const content = fileType === "json" ? JSON.stringify(JSON.parse(AASInstance), undefined, 4)