From b73348078d1e072c31ca579284379d4f2d20f947 Mon Sep 17 00:00:00 2001 From: phillmac Date: Mon, 11 Nov 2019 23:22:59 +1100 Subject: [PATCH] docs(example): fix ipfs cat (#475) `ipfs.files.cat` is incorrect. the correct function is `ipfs.cat` --- examples/delegated-routing/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/delegated-routing/src/App.js b/examples/delegated-routing/src/App.js index 2547496b93..ce6af6777f 100644 --- a/examples/delegated-routing/src/App.js +++ b/examples/delegated-routing/src/App.js @@ -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({