lint
This commit is contained in:
@@ -69,12 +69,9 @@ export class FoodRatingCronService {
|
||||
// Flush all updates at once for better performance
|
||||
await this.em.flush();
|
||||
|
||||
this.logger.log(
|
||||
`Food rating calculation completed. Updated: ${updatedCount}, Errors: ${errorCount}`,
|
||||
);
|
||||
this.logger.log(`Food rating calculation completed. Updated: ${updatedCount}, Errors: ${errorCount}`);
|
||||
} catch (error) {
|
||||
this.logger.error(`Error in food rating cron job: ${error.message}`, error.stack);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user