Skip to content

Commit

Permalink
fix string key bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mstdokumaci committed Sep 8, 2019
1 parent 55522e9 commit 64eec46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/server/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const sendLeaves = (socket, leaf, options, dataOverride) => {
const depthLimit = depth || Infinity
const data = dataOverride || { leaves: {}, strings: {} }

serializeParents(data, socket, branch, id)
serializeParents(data, socket, branch, Number(id))

keys = keys ? keys.filter(
key => serializeWithAllChildren(data, socket, branch, key, depthLimit, 1)
Expand Down

0 comments on commit 64eec46

Please sign in to comment.