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 = { const fetchOptions: RequestInit = {
method, method,
headers: headers || {}, headers: headers || {},
body: fetchBody, body: fetchBody ?? null,
signal: controller.signal, signal: controller.signal,
cache: 'no-store', cache: 'no-store',
}; };