fix(api): Remove code that checks for missing filenames

This commit is contained in:
Jesse Wierzbinski 2024-05-12 14:35:55 -10:00
parent c4910fb7f9
commit c6c92e716f
No known key found for this signature in database

View file

@ -92,10 +92,6 @@ export default (app: Hono) =>
}
if (element instanceof File) {
if (!element.name) {
return errorResponse("File must have a name", 422);
}
const media = await MediaBackend.fromBackendType(
config.media.backend,
config,