Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit d871c38

Browse files
author
Albertinin Mourato
committed
fix data parameter always undefined on callback for track method
1 parent 8cc26f9 commit d871c38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class Analytics {
205205

206206
if (!this.flushed) {
207207
this.flushed = true
208-
this.flush()
208+
this.flush(callback)
209209
return
210210
}
211211

0 commit comments

Comments
 (0)