fix(backend): remove removed type previously exported from file-type
This commit is contained in:
parent
6c1b17510d
commit
e4f85f59ff
|
@ -330,7 +330,7 @@ export class FileInfoService {
|
|||
}
|
||||
|
||||
@bindThis
|
||||
public fixMime(mime: string | fileType.MimeType): string {
|
||||
public fixMime(mime: string): string {
|
||||
// see https://github.com/misskey-dev/misskey/pull/10686
|
||||
if (mime === 'audio/x-flac') {
|
||||
return 'audio/flac';
|
||||
|
|
Loading…
Reference in New Issue