Skip to content

Commit

Permalink
docs:fix put->putStream (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
luozhang002 authored and binghaiwang committed Jun 5, 2018
1 parent 3012bc6 commit b6dc1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ example:

```js
var filepath = '/home/ossdemo/demo.txt';
var object = yield store.put('ossdemo/readstream.txt', fs.createReadStream(filepath));
var object = yield store.putStream('ossdemo/readstream.txt', fs.createReadStream(filepath));
console.log(object);
{
Expand Down

0 comments on commit b6dc1df

Please sign in to comment.