Browse Source

fix: Alias is uppercase

Martin Kunz 1 month ago
parent
commit
0ab219958d
1 changed files with 1 additions and 1 deletions
  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']);