summaryrefslogtreecommitdiff
path: root/src/streaming.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/streaming.ts')
-rw-r--r--src/streaming.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/streaming.ts b/src/streaming.ts
index c354a758f4..92b83192cf 100644
--- a/src/streaming.ts
+++ b/src/streaming.ts
@@ -156,11 +156,11 @@ export default class Stream extends EventEmitter<StreamEvents> {
}
for (const c of connections) {
- c.emit(body.type, Object.freeze(body.body));
+ c.emit(body.type, body.body);
c.inCount++;
}
} else {
- this.emit(type, Object.freeze(body));
+ this.emit(type, body);
}
}