Skip to content

Commit efc48ed

Browse files
Update packages/microservices/helpers/kafka-parser.ts
1 parent f83e830 commit efc48ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/microservices/helpers/kafka-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class KafkaParser {
99
}
1010

1111
public parse<T = any>(data: any): T {
12-
// Duplicate the object to not modify the original one (would break KafkaJS retries)
12+
// Clone object to as modifying the original one would break KafkaJS retries
1313
const result = {
1414
...data,
1515
headers: { ...data.headers },

0 commit comments

Comments
 (0)