File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ export const syncStreamed = routeDefinition({
145145 return new router . RouterResponse ( {
146146 status : 200 ,
147147 headers : {
148- 'Content-Type' : 'text/event-stream' , // useBson ? concatenatedBsonContentType : ndJsonContentType,
148+ 'Content-Type' : useBson ? concatenatedBsonContentType : ndJsonContentType ,
149149 ...encodingHeaders
150150 } ,
151151 data : stream ,
Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ describe('Stream Route', () => {
9292 const serviceContext = mockServiceContext ( storage ) ;
9393
9494 // Create a custom format to capture log info objects (which include defaultMeta)
95- // Winston merges defaultMeta into the info object during formatting
9695 const capturedLogs : any [ ] = [ ] ;
9796 const captureFormat = winston . format ( ( info ) => {
9897 // Capture the info object which includes defaultMeta merged in
You can’t perform that action at this time.
0 commit comments