Skip to content
This repository was archived by the owner on Aug 18, 2018. It is now read-only.

Commit 0699114

Browse files
committed
small fix error detected
1 parent 85318db commit 0699114

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/library/services/converter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ export class Converter {
136136
) {
137137
resource_dest.attributes = resource_data_from.attributes;
138138

139-
Converter.getService(resource_data_from.type).parseFromServer(resource_dest.attributes);
140-
141139
resource_dest.id = resource_data_from.id;
142140
resource_dest.is_new = false;
143141
let service = Converter.getService(resource_data_from.type);
@@ -148,6 +146,8 @@ export class Converter {
148146
return;
149147
}
150148

149+
Converter.getService(resource_data_from.type).parseFromServer(resource_dest.attributes);
150+
151151
let relationships_converter = new ResourceRelationshipsConverter(
152152
Converter.getService,
153153
resource_data_from.relationships,

0 commit comments

Comments
 (0)