Skip to content

Commit 4556dab

Browse files
committed
flag s
1 parent ab74c38 commit 4556dab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qiniu/rs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ PutPolicy.prototype.getFlags = function(putPolicy) {
184184
flags['endUser'] = this.endUser;
185185
}
186186
if (this.persistentOps != null) {
187-
flag['persistentOps'] = this.persistentOps;
187+
flags['persistentOps'] = this.persistentOps;
188188
}
189189
if (this.persistentNotifyUrl != null) {
190-
flag['persistentNotifyUrl'] = this.persistentNotifyUrl;
190+
flags['persistentNotifyUrl'] = this.persistentNotifyUrl;
191191
}
192192
flags['deadline'] = this.expires + Math.floor(Date.now() / 1000);
193193
return flags;

0 commit comments

Comments
 (0)