We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0276580 + 55d71ce commit 821f01cCopy full SHA for 821f01c
lib/auth.js
@@ -43,6 +43,7 @@ function PutPolicy(opts) {
43
this.customer = opts.customer || null;
44
this.escape = opts.escape || 0;
45
this.asyncOps = opts.asyncOps || null;
46
+ this.returnBody = opts.returnBody || null;
47
}
48
49
PutPolicy.prototype.token = function() {
@@ -67,6 +68,9 @@ PutPolicy.prototype.token = function() {
67
68
if (this.escape) {
69
params["escape"] = this.excape;
70
71
+ if (this.returnBody !== null) {
72
+ params["returnBody"] = this.returnBody;
73
+ }
74
return generateToken(params);
75
};
76
0 commit comments