diff --git a/src/Appwrite/Migration/Version/V12.php b/src/Appwrite/Migration/Version/V12.php index 9ca7b3169e..2c5ddef61d 100644 --- a/src/Appwrite/Migration/Version/V12.php +++ b/src/Appwrite/Migration/Version/V12.php @@ -190,8 +190,8 @@ class V12 extends Migration */ $path = "/storage/uploads/app-{$this->project->getId()}"; $new = str_replace($path, "{$path}/default", $document->getAttribute('path')); - $document - ->setAttribute('path', $new); + $document->setAttribute('path', $new); + /** * Populate search string from Migration to 0.12. */