1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

feat: start capturing onboarded status also from register endpoint

This commit is contained in:
sjaanus 2024-10-08 12:25:15 +03:00
parent c42093b7b3
commit 74f1271178
No known key found for this signature in database
GPG Key ID: 20E007C0248BA7FF

View File

@ -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'))