diff --git a/docs/content/dev/public_api.yml b/docs/content/dev/public_api.yml index cf372c984..4487f3c17 100644 --- a/docs/content/dev/public_api.yml +++ b/docs/content/dev/public_api.yml @@ -496,10 +496,6 @@ paths: required: true description: The binary file to upload. content: - application/pdf: - schema: - type: string - format: binary image/apng: schema: type: string diff --git a/src/media/media.service.ts b/src/media/media.service.ts index 303a732a1..90a72049b 100644 --- a/src/media/media.service.ts +++ b/src/media/media.service.ts @@ -47,7 +47,6 @@ export class MediaService { private static isAllowedMimeType(mimeType: string): boolean { const allowedTypes = [ - 'application/pdf', 'image/apng', 'image/bmp', 'image/gif',