diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index cc00baee0c..e84ec7be1c 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -791,7 +791,7 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId/download') ; if ($device->getFileSize($path) > APP_LIMIT_COMPRESSION) { - $response->addHeader('Content-Length',$device->getFileSize($path)); + $response->addHeader('Content-Length', $device->getFileSize($path)); $handle = fopen($path, 'rb'); while(!feof($handle)) {