Skip to content

Commit b6dc1df

Browse files
luozhang002binghaiwang
authored andcommitted
docs:fix put->putStream (#478)
1 parent 3012bc6 commit b6dc1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ example:
10071007

10081008
```js
10091009
var filepath = '/home/ossdemo/demo.txt';
1010-
var object = yield store.put('ossdemo/readstream.txt', fs.createReadStream(filepath));
1010+
var object = yield store.putStream('ossdemo/readstream.txt', fs.createReadStream(filepath));
10111011
console.log(object);
10121012
10131013
{

0 commit comments

Comments
 (0)