chore: resolve oxlint warnings across web and SDK (#34540)

Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
This commit is contained in:
agenthaulk 2026-04-21 12:43:45 +08:00 committed by GitHub
parent 77f8f2babb
commit dc83e8aa09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ const jsonResponse = (
...init,
headers: {
"content-type": "application/json",
...(init.headers ?? {}),
...init.headers,
},
});
@ -47,7 +47,7 @@ const textResponse = (body: string, init: ResponseInit = {}): Response =>
new Response(body, {
...init,
headers: {
...(init.headers ?? {}),
...init.headers,
},
});

View File

@ -14,7 +14,7 @@ const jsonResponse = (body: unknown, init: ResponseInit = {}): Response =>
...init,
headers: {
"content-type": "application/json",
...(init.headers ?? {}),
...init.headers,
},
});