Skip to content

Commit

Permalink
docs(example): fix ipfs cat (#475)
Browse files Browse the repository at this point in the history
`ipfs.files.cat` is incorrect. the correct function is `ipfs.cat`
  • Loading branch information
phillmac authored and dirkmc committed Nov 26, 2019
1 parent 4f26015 commit 6712479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/delegated-routing/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class App extends Component {
isLoading: this.state.isLoading + 1
})

this.ipfs.files.cat(this.state.hash, (err, data) => {
this.ipfs.cat(this.state.hash, (err, data) => {
if (err) console.log('Error', err)

this.setState({
Expand Down

0 comments on commit 6712479

Please sign in to comment.