Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit b97544d

Browse files
author
Alan Shaw
committed
fix: object test property fixes
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 3eb398e commit b97544d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/object/get.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ module.exports = (createCommon, options) => {
304304
expect(err).to.not.exist()
305305
// because js-ipfs-api can't infer if the
306306
// returned Data is Buffer or String
307-
if (typeof node.data === 'string') {
307+
if (typeof node.Data === 'string') {
308308
node = DAGNode.create(Buffer.from(node.Data), node.Links, node.size)
309309
}
310310
node1b = node

0 commit comments

Comments
 (0)