File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ export class EventsStream extends AbstractStream {
125125 const authMessage = JSON . stringify ( {
126126 // eslint-disable-next-line camelcase
127127 message_type : 'oauth' ,
128- authorization : requestParams . headers . Authorization ,
128+ authorization : requestParams . headers . authorization ,
129129 } ) ;
130130 return { url, authMessage } ;
131131 } ) ;
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ export class AbstractLogsStream extends AbstractStream {
144144 // prepare SSE URL's authorization query param
145145 const url = new URL ( requestParams . url ) ;
146146 fillUrlSearchParams ( url , requestParams . queryParams ) ;
147- const base64AuthorizationHeader = globalThis . btoa ( requestParams . headers . Authorization ) ;
147+ const base64AuthorizationHeader = globalThis . btoa ( requestParams . headers . authorization ) ;
148148 url . searchParams . set ( 'authorization' , base64AuthorizationHeader ) ;
149149 return { url : url . toString ( ) } ;
150150 } ) ;
You can’t perform that action at this time.
0 commit comments