1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-20 14:06:05 +02:00

fix(backend): remove removed type previously exported from file-type

This commit is contained in:
kakkokari-gtyih
2025-05-27 11:54:22 +09:00
parent 6c1b17510d
commit e4f85f59ff

View File

@@ -330,7 +330,7 @@ export class FileInfoService {
} }
@bindThis @bindThis
public fixMime(mime: string | fileType.MimeType): string { public fixMime(mime: string): string {
// see https://github.com/misskey-dev/misskey/pull/10686 // see https://github.com/misskey-dev/misskey/pull/10686
if (mime === 'audio/x-flac') { if (mime === 'audio/x-flac') {
return 'audio/flac'; return 'audio/flac';