diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index c007d629b6..d9faf998e6 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -722,7 +722,7 @@ App::get('/v1/health/storage') $checkStart = \microtime(true); foreach ($devices as $device) { - if (!$device->write($device->getPath('health.txt'), 'test', '')) { + if (!$device->write($device->getPath('health.txt'), 'test', 'text/plain')) { throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed writing test file to ' . $device->getRoot()); }