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 9ed22ec + a3a98de commit 4adfb0dCopy full SHA for 4adfb0d
qiniu/rs.php
@@ -91,8 +91,8 @@ public function Token($mac) // => $token
91
if (!empty($this->EndUser)) {
92
$policy['endUser'] = $this->EndUser;
93
}
94
- if (!empty($this->InsertOnly)) {
95
- $policy['exclusive'] = $this->InsertOnly;
+ if (isset($this->InsertOnly)) {
+ $policy['insertOnly'] = $this->InsertOnly;
96
97
if (!empty($this->DetectMime)) {
98
$policy['detectMime'] = $this->DetectMime;
0 commit comments