Skip to content

Commit ae40538

Browse files
author
Matt Carroll
committed
Only call formatEvent once
1 parent 7aa81eb commit ae40538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/event-processor/src/eventProcessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export abstract class AbstractEventProcessor implements EventProcessor {
9393
}
9494

9595
const formattedEvent = this.formatEvents(buffer)
96-
this.dispatcher.dispatchEvent(this.formatEvents(buffer), () => {
96+
this.dispatcher.dispatchEvent(formattedEvent, () => {
9797
resolve()
9898
})
9999
if (this.notificationCenter) {

0 commit comments

Comments
 (0)