diff --git a/app/Controllers/Http/SplashController.ts b/app/Controllers/Http/SplashController.ts index f76f104..8286a44 100644 --- a/app/Controllers/Http/SplashController.ts +++ b/app/Controllers/Http/SplashController.ts @@ -45,7 +45,8 @@ export default class SplashController { .whereBetween('createdAt', [dateMidnight, new Date()]) .count('*', 'total') .first() - const countNewChannels = Profile.query() + const countNewChannels = User.query() + .where({ host: true }) .whereBetween('createdAt', [dateMidnight, new Date()]) .count('*', 'total') .first()