Skip to content

Commit

Permalink
fix order of attributes and features in metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
  • Loading branch information
vavido committed Jan 11, 2021
1 parent 9472a98 commit d877671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/lib/api/src/model/things.model.ts
Expand Up @@ -174,7 +174,7 @@ export class Metadata extends EntityModel {
if (o === undefined) {
return o;
}
return new Metadata(Features.fromObject(o.features), o.attributes);
return new Metadata(o.attributes, Features.fromObject(o.features));
}

toObject(): Object | undefined {
Expand Down

0 comments on commit d877671

Please sign in to comment.