Browse Source

Merge 3133a138b5 into aaa3f93f22

pull/5998/merge
Thomas Kaul 6 days ago
committed by GitHub
parent
commit
70af10c607
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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)
public async runEveryDayAtFivePm() {
if (this.configurationService.get('ENABLE_FEATURE_SUBSCRIPTION')) {
this.twitterBotService.tweetFearAndGreedIndex();
await this.twitterBotService.tweetFearAndGreedIndex();
}
}
@Cron(CronExpression.EVERY_DAY_AT_MIDNIGHT)
public async runEveryDayAtMidnight() {
if (this.configurationService.get('ENABLE_FEATURE_SUBSCRIPTION')) {
this.userService.resetAnalytics();
await this.userService.resetAnalytics();
}
}

Loading…
Cancel
Save