Skip to content

Commit f931b75

Browse files
committed
Fix meta property check
1 parent 0f1ade7 commit f931b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/normalize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function extractRelationships(relationships, { camelizeKeys }) {
3434
ret[name].data = relationship.data;
3535
}
3636

37-
if (relationship.meta !== 'undefined') {
37+
if (typeof relationship.meta !== 'undefined') {
3838
ret[name].meta = relationship.meta;
3939
}
4040
}

0 commit comments

Comments
 (0)