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.
1 parent 48d2bfc commit 4555715Copy full SHA for 4555715
src/LeanCloud/File.php
@@ -385,7 +385,7 @@ public function save() {
385
$uploader = SimpleUploader::createUploader($resp["provider"]);
386
$uploader->initialize($resp["upload_url"], $resp["token"]);
387
$uploader->upload($this->_source, $this->getMimeType(), $key);
388
- $callbackParams["result"] = false;
+ $callbackParams["result"] = true;
389
} catch (\Exception $ex) {
390
$callbackParams["result"] = false;
391
throw $ex;
@@ -450,4 +450,3 @@ public function encode() {
450
);
451
}
452
453
-
0 commit comments