Skip to content

Commit d2bd838

Browse files
committed
Add custom return body support
1 parent 79b7d17 commit d2bd838

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/auth.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ PutPolicy.prototype.token = function() {
6767
if (this.escape) {
6868
params["escape"] = this.excape;
6969
}
70+
if (this.returnBody !== null) {
71+
params["returnBody"] = this.returnBody;
72+
}
7073
return generateToken(params);
7174
};
7275

0 commit comments

Comments
 (0)