change 'update-by' key in Resource-Dictionary JSON 69/116969/1
authorAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Tue, 19 Jan 2021 12:44:18 +0000 (14:44 +0200)
committerAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Tue, 19 Jan 2021 12:44:18 +0000 (14:44 +0200)
Issue-ID: CCSDK-3083

Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: Ie88c9d8f61b7e692c665940c29027b4e405c91e1

cds-ui/designer-client/src/app/modules/feature-modules/resource-dictionary/model/metaData.model.ts

index 89a83a1..63e1831 100644 (file)
@@ -19,20 +19,20 @@ import { JsonObject, JsonProperty } from 'json2typescript';
 * limitations under the License.
 * ============LICENSE_END=========================================================
 */
-@JsonObject()
+@JsonObject
 export class MetaData {
     @JsonProperty('name')
     public name: string;
     public tags: string;
     @JsonProperty('updated-by')
-    public updatedBy: string;
+    public ['updated-by'] = 'ahmed.eldeeb.ext@orange.com';
     public property: Property;
     public sources: any;
 
     constructor() {
         this.name = '';
         this.tags = '';
-        this.updatedBy = '';
+        // this.updatedBy = '';
         this.property = new Property();
         this.sources = {};
     }