minor fix

master
Константин 2024-02-05 18:15:48 +03:00
parent de3fe475a7
commit 7ff846ddf5
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ class UploadFileController extends Controller {
if (!array_key_exists($mime, $this->validMimes)) {
throw new StoreResourceFailedException('Validation Error', [
'Content-Type' => 'The Content Type sent is not valid',
'mime' => $mime
]);
}
}