Skip to content

Commit

Permalink
Merge 99eadda into c522dcf
Browse files Browse the repository at this point in the history
  • Loading branch information
Milk Lee committed Sep 18, 2014
2 parents c522dcf + 99eadda commit 8713a2a
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 @@ -69,7 +69,7 @@ client.upload(fs.createReadStream(filepath), function (err, result) {
});

// you also can upload a string or Buffer directly
client.upload('哈哈', {filename: 'haha.txt'}, function (err, result) {
client.upload('哈哈', {key: 'haha.txt'}, function (err, result) {
console.log(result);
// hash: 'FptOdeKmWhcYHUXa5YmNZxJC934B',
// key: 'foobar.txt',
Expand Down

0 comments on commit 8713a2a

Please sign in to comment.