diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index f3f690e360..206ff4d6c5 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -598,7 +598,6 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId/preview') if (!empty($background)) { $image->setBackground('#'.$background); } - if (!empty($borderWidth) ) { $image->setBorder($borderWidth, '#'.$borderColor);