Skip to content

Commit

Permalink
fix: cron issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Fllorent0D committed Mar 25, 2023
1 parent 577436e commit 9e525e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cron/sync-member.cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export class SyncMemberCron {
) {
}

@Cron(CronExpression.EVERY_DAY_AT_2AM)
async syncMembersToElastic() {
async syncMembersToElastic() {
this.logger.debug('Members sync for lookup starting...');
try {
await this.membersSearchIndex.indexMembers();
Expand Down

0 comments on commit 9e525e3

Please sign in to comment.