Skip to content

Commit

Permalink
Merge pull request #138 from liubin/master
Browse files Browse the repository at this point in the history
示例代码返回401错误
  • Loading branch information
longbai committed May 13, 2015
2 parents 80eb04a + 2e69cdf commit 1870bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function PutPolicy(scope, callbackUrl, callbackBody, returnUrl, returnBody,

```{javascript}
function uptoken(bucketname) {
var putPolicy = new qiniu.rs.PutPolicy(bucketname);
var putPolicy = new qiniu.rs.PutPolicy({scope: bucketname});
//putPolicy.callbackUrl = callbackUrl;
//putPolicy.callbackBody = callbackBody;
//putPolicy.returnUrl = returnUrl;
Expand Down

0 comments on commit 1870bae

Please sign in to comment.