mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-20 09:25:33 +02:00
fix(backend): remove removed type previously exported from file-type
This commit is contained in:
@@ -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';
|
||||||
|
|||||||
Reference in New Issue
Block a user