Skip to content

Commit a5c1d5e

Browse files
committed
fix(analytics): Fix for DEBUG_MODE and CONFIG in rc.4
1 parent bf8d110 commit a5c1d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analytics/analytics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class AngularFireAnalytics {
8080
const patchGtag = (fn?: (...args: any[]) => void) => {
8181
window[GTAG_FUNCTION_NAME] = (...args: any[]) => {
8282
if (fn) {
83-
fn(args);
83+
fn(...args);
8484
}
8585
// Inject app_name and app_version into events
8686
// TODO(jamesdaniels): I'm doing this as documented but it's still not

0 commit comments

Comments
 (0)