fix type errors

This commit is contained in:
Hazelnoot 2025-05-03 22:25:33 -04:00
parent 231ef297b5
commit 261a7e3ab3

View file

@ -112,7 +112,7 @@ export class ApiSearchMastodon {
{ {
method: 'POST', method: 'POST',
headers: { headers: {
...request.headers as HeadersInit, ...request.headers,
'Accept': 'application/json', 'Accept': 'application/json',
'Content-Type': 'application/json', 'Content-Type': 'application/json',
}, },
@ -135,7 +135,7 @@ export class ApiSearchMastodon {
{ {
method: 'POST', method: 'POST',
headers: { headers: {
...request.headers as HeadersInit, ...request.headers,
'Accept': 'application/json', 'Accept': 'application/json',
'Content-Type': 'application/json', 'Content-Type': 'application/json',
}, },