Skip to content

Commit ab74c38

Browse files
committed
persistentOps
1 parent f2ce503 commit ab74c38

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

qiniu/rs.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,12 @@ PutPolicy.prototype.getFlags = function(putPolicy) {
183183
if (this.endUser != null) {
184184
flags['endUser'] = this.endUser;
185185
}
186+
if (this.persistentOps != null) {
187+
flag['persistentOps'] = this.persistentOps;
188+
}
189+
if (this.persistentNotifyUrl != null) {
190+
flag['persistentNotifyUrl'] = this.persistentNotifyUrl;
191+
}
186192
flags['deadline'] = this.expires + Math.floor(Date.now() / 1000);
187193
return flags;
188194
}

0 commit comments

Comments
 (0)