ソースを参照

fix: Alias is uppercase

Martin Kunz 1 ヶ月 前
コミット
0ab219958d
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      src/ua/UAAlias.ts

+ 1 - 1
src/ua/UAAlias.ts

@@ -4,7 +4,7 @@ export class UAAlias implements IToXML{
                 public id: string) {
     }
     toXML(): XMLElem {
-        return new XMLElem('Alias', this.id).attr('alias', this.alias);  
+        return new XMLElem('Alias', this.id).attr('Alias', this.alias);  
     }
     static fromXML(xmlObject: any): UAAlias {
         return new UAAlias( xmlObject['@_Alias'], xmlObject['#text']);