Skip to content

Commit 4555715

Browse files
authored
fix(file): typo
1 parent 48d2bfc commit 4555715

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/LeanCloud/File.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ public function save() {
385385
$uploader = SimpleUploader::createUploader($resp["provider"]);
386386
$uploader->initialize($resp["upload_url"], $resp["token"]);
387387
$uploader->upload($this->_source, $this->getMimeType(), $key);
388-
$callbackParams["result"] = false;
388+
$callbackParams["result"] = true;
389389
} catch (\Exception $ex) {
390390
$callbackParams["result"] = false;
391391
throw $ex;
@@ -450,4 +450,3 @@ public function encode() {
450450
);
451451
}
452452
}
453-

0 commit comments

Comments
 (0)