From af4e3d9f71d44ffccea09c8c399037365f249d51 Mon Sep 17 00:00:00 2001 From: greenknot Date: Fri, 21 Sep 2018 17:16:47 +0200 Subject: [PATCH] Fix typo in logger analytics events s/anaytics/analytics/g --- src/logger/logger.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/logger/logger.js b/src/logger/logger.js index 072bf7d8..72909fa8 100644 --- a/src/logger/logger.js +++ b/src/logger/logger.js @@ -316,19 +316,19 @@ export default { analyticsStart: (id: string) => { if (logAnalytics) { - logger.log('info', `△ start() with user id ${id}`, { type: 'anaytics-start', id }) + logger.log('info', `△ start() with user id ${id}`, { type: 'analytics-start', id }) } }, analyticsStop: () => { if (logAnalytics) { - logger.log('info', `△ stop()`, { type: 'anaytics-stop' }) + logger.log('info', `△ stop()`, { type: 'analytics-stop' }) } }, analyticsTrack: (event: string, properties: ?Object) => { if (logAnalytics) { - logger.log('info', `△ track ${event}`, { type: 'anaytics-track', properties }) + logger.log('info', `△ track ${event}`, { type: 'analytics-track', properties }) } captureBreadcrumb({ category: 'track', @@ -340,7 +340,7 @@ export default { analyticsPage: (category: string, name: ?string, properties: ?Object) => { const message = name ? `${category} ${name}` : category if (logAnalytics) { - logger.log('info', `△ page ${message}`, { type: 'anaytics-page', properties }) + logger.log('info', `△ page ${message}`, { type: 'analytics-page', properties }) } captureBreadcrumb({ category: 'page',