Fix type issue in requestInit
This commit is contained in:
@@ -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',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user