Fix type issue in requestInit

This commit is contained in:
2026-08-07 05:52:33 +00:00
parent 79dacae153
commit 4edf51ebb4
+1 -1
View File
@@ -267,7 +267,7 @@ export class SSESession extends EventEmitter<SSESessionEventMap> {
const fetchOptions: RequestInit = {
method,
headers: headers || {},
body: fetchBody,
body: fetchBody ?? null,
signal: controller.signal,
cache: 'no-store',
};