Skip to content

Commit

Permalink
web (aid): remove protocol hardcoding from aid conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
egekorkan committed Oct 10, 2023
1 parent 679848e commit 20da347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-new/src/scripts/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 20da347

Please sign in to comment.