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

Commit b3d2c18

Browse files
author
albertmourato
committed
Add missing callback function to a remaining flush call
1 parent d871c38 commit b3d2c18

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
@@ -210,7 +210,7 @@ class Analytics {
210210
}
211211

212212
if (this.queue.length >= this.flushAt) {
213-
this.flush()
213+
this.flush(callback)
214214
}
215215

216216
if (this.flushInterval && !this.timer) {

0 commit comments

Comments
 (0)