Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 491eb93

Browse files
committed
🐛 Fix not awaiting BigQuery addEventFilter
1 parent 73dcff5 commit 491eb93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integrations/analytics-bigquery/src/JovoBigQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class JovoBigQuery {
9191
event.timeZone = this.jovo.$request.timeZone as string;
9292
}
9393

94-
if (this.config.addEventFilter && !this.config.addEventFilter(this.jovo, event)) {
94+
if (this.config.addEventFilter && !(await this.config.addEventFilter(this.jovo, event))) {
9595
if ((this.config.logging as BigQueryLoggingConfig).addEvent) {
9696
// eslint-disable-next-line no-console
9797
console.log('BigQuery addEvent filtered', { event });

0 commit comments

Comments
 (0)