Skip to content

Commit 4e4db6e

Browse files
cleanup
1 parent a9d6212 commit 4e4db6e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/service-core/src/routes/endpoints/sync-stream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

packages/service-core/test/src/routes/stream.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)