Browse Source

Eliminate warnings

pull/5998/head
Thomas Kaul 2 weeks ago
parent
commit
3133a138b5
  1. 4
      apps/api/src/services/cron/cron.service.ts

4
apps/api/src/services/cron/cron.service.ts

@ -44,14 +44,14 @@ export class CronService {
@Cron(CronExpression.EVERY_DAY_AT_5PM) @Cron(CronExpression.EVERY_DAY_AT_5PM)
public async runEveryDayAtFivePm() { public async runEveryDayAtFivePm() {
if (this.configurationService.get('ENABLE_FEATURE_SUBSCRIPTION')) { if (this.configurationService.get('ENABLE_FEATURE_SUBSCRIPTION')) {
this.twitterBotService.tweetFearAndGreedIndex(); await this.twitterBotService.tweetFearAndGreedIndex();
} }
} }
@Cron(CronExpression.EVERY_DAY_AT_MIDNIGHT) @Cron(CronExpression.EVERY_DAY_AT_MIDNIGHT)
public async runEveryDayAtMidnight() { public async runEveryDayAtMidnight() {
if (this.configurationService.get('ENABLE_FEATURE_SUBSCRIPTION')) { if (this.configurationService.get('ENABLE_FEATURE_SUBSCRIPTION')) {
this.userService.resetAnalytics(); await this.userService.resetAnalytics();
} }
} }

Loading…
Cancel
Save