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
2 changed files with 3 additions and 3 deletions
+2 -2
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,
},
});
+1 -1
View File
@@ -14,7 +14,7 @@ const jsonResponse = (body: unknown, init: ResponseInit = {}): Response =>
...init,
headers: {
"content-type": "application/json",
...(init.headers ?? {}),
...init.headers,
},
});