From 74f12711784ea86fb089ec16095725d9c36c9b7d Mon Sep 17 00:00:00 2001 From: sjaanus Date: Tue, 8 Oct 2024 12:25:15 +0300 Subject: [PATCH] feat: start capturing onboarded status also from register endpoint --- src/lib/features/onboarding/onboarding-read-model.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/lib/features/onboarding/onboarding-read-model.ts b/src/lib/features/onboarding/onboarding-read-model.ts index 534ca7f09c..e2e90d75b2 100644 --- a/src/lib/features/onboarding/onboarding-read-model.ts +++ b/src/lib/features/onboarding/onboarding-read-model.ts @@ -101,13 +101,6 @@ export class OnboardingReadModel implements IOnboardingReadModel { return { status: 'onboarding-started' }; } - // const lastSeen = await this.db('last_seen_at_metrics as lsm') - // .select('lsm.feature_name') - // .innerJoin('features as f', 'f.name', 'lsm.feature_name') - // .innerJoin('projects as p', 'p.id', 'f.project') - // .where('p.id', projectId) - // .first(); - const db = this.db; const lastSeen = await db .select(db.raw('1'))