update all dependencies
This commit is contained in:
parent
681afb2d9f
commit
3702729f26
24 changed files with 4971 additions and 6545 deletions
|
|
@ -143,7 +143,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';
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ export class ApiSearchMastodon {
|
|||
{
|
||||
method: 'POST',
|
||||
headers: {
|
||||
...request.headers,
|
||||
...request.headers as Record<string, string>,
|
||||
'Accept': 'application/json',
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
|
|
@ -135,7 +135,7 @@ export class ApiSearchMastodon {
|
|||
{
|
||||
method: 'POST',
|
||||
headers: {
|
||||
...request.headers,
|
||||
...request.headers as Record<string, string>,
|
||||
'Accept': 'application/json',
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue