diff --git a/src/utils/querySSE.ts b/src/utils/querySSE.ts index e096531..1ea53d6 100644 --- a/src/utils/querySSE.ts +++ b/src/utils/querySSE.ts @@ -12,7 +12,6 @@ const SSE_HEADERS = { 'Cache-Control': 'no-cache', Connection: 'keep-alive', Accept: 'text/event-stream', - requestid: genRandomId(), }; interface SSEConfig { @@ -53,6 +52,7 @@ export default async (config: SSEConfig, url: string = DEFAULT_SSE_URL): Promise ...SSE_HEADERS, Authorization: glsWithCatch('accessToken'), 'enterprise-id': store.enterpriseInfo?.id?.toString(), + requestid: genRandomId(), ...headers, }, body,