Skip to content

Commit

Permalink
Fix wrong object type
Browse files Browse the repository at this point in the history
  • Loading branch information
bor3ham committed Feb 28, 2020
1 parent 35f63ee commit 5bac66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function(data, included) {
return
}
if (item.type in known === false) {
known[item.type] = []
known[item.type] = {}
}
known[item.type][item.id] = item
}
Expand Down

0 comments on commit 5bac66f

Please sign in to comment.