Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
docs: ipfs.object.get typo fix (#3600)
Browse files Browse the repository at this point in the history
AFAIK it is `Data` and `Links`, not `data`
  • Loading branch information
lidel authored Apr 19, 2021
1 parent 74bfce3 commit 63b11e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/core-api/OBJECT.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ An optional object which may have the following keys:
const multihash = 'QmPb5f92FxKPYdT3QNBd1GKiL4tZUXUrzF4Hkpdr3Gf1gK'

const node = await ipfs.object.get(multihash)
console.log(node.data)
console.log(node.Data)
// Logs:
// some data
```
Expand Down

0 comments on commit 63b11e5

Please sign in to comment.