From 943c3960e160f0224b4b2e066aad5db5f7ffdad2 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sun, 2 Nov 2025 21:39:05 +0100 Subject: [PATCH] Comment logs --- web/lib/service/analytics.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/lib/service/analytics.ts b/web/lib/service/analytics.ts index ec5a8b72..b263e816 100644 --- a/web/lib/service/analytics.ts +++ b/web/lib/service/analytics.ts @@ -18,8 +18,8 @@ export async function track(name: string, properties?: EventIds & EventData) { const { commentId, ...data } = properties || {} try { posthog?.capture(name, data) - const result = await insertUserEvent(name, data, db, null, commentId) - console.debug('result', result) + await insertUserEvent(name, data, db, null, commentId) + // console.debug('result', result) } catch (e) { console.error('error tracking event:', e) } @@ -68,7 +68,7 @@ function insertUserEvent( userId?: string | null, commentId?: string | null ) { - console.debug('inserting user event', name, data, userId, commentId, db) + // console.debug('inserting user event', name, data, userId, commentId, db) return run( db.from('user_events').insert({ name,