Skip to content

Commit

Permalink
fix: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rybasher committed Jul 17, 2024
1 parent 96b296d commit 82fa7f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mirror-web-server/src/cron/cron.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export class CronService {
}
}


@Cron(CronExpression.EVERY_HOUR)
public async updatesUserProfilesInMixpanel() {
try {
Expand All @@ -44,7 +43,9 @@ export class CronService {
await this.mixpanelService.updateUserEmail(user._id, user.email)
} catch (err) {
this.logger.error(
`Update User Profiles In Mixpanel Failed for user ${user._id}`,
`Update User Profiles In Mixpanel Failed for user ${
user._id as string
}`,
err.stack,
CronService.name
)
Expand Down

0 comments on commit 82fa7f6

Please sign in to comment.