Skip to content

Commit

Permalink
build lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbara Honhoff committed Jun 2, 2020
1 parent 06d7b79 commit f649b03
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,12 @@ var mapRelationships = function mapRelationships(resource, included) {
})();
} else if (relData) {
var _deserializeIncluded3 = deserializeIncluded(relData, included),
_deserializeIncluded4 = _slicedToArray(_deserializeIncluded3, 1),
dRel = _deserializeIncluded4[0];
_deserializeIncluded4 = _slicedToArray(_deserializeIncluded3, 2),
dRel = _deserializeIncluded4[0],
filteredIncluded = _deserializeIncluded4[1];

if (dRel) {
deserializedRel = mapRelationships(dRel, included);
deserializedRel = mapRelationships(dRel, filteredIncluded);
}
}

Expand Down

0 comments on commit f649b03

Please sign in to comment.