Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Fix: typescript lint complaints

Blue Mousead1b243ddc80
diff --git a/backend/apps/production/src/task-manager/task-manager.service.ts b/backend/apps/production/src/task-manager/task-manager.service.ts
index e3f47d947..2a5919fd0 100644
--- a/backend/apps/production/src/task-manager/task-manager.service.ts
+++ b/backend/apps/production/src/task-manager/task-manager.service.ts
@@ -1480,7 +1480,7 @@ export class TaskManagerService {
@Cron(CronExpression.EVERY_WEEK)
async sendTrainingAiRequest(): Promise<void> {
try {
- await firstValueFrom(this.httpService.post('/run_training/'))
+ await firstValueFrom(this.httpService.post('/run_training/', {}))
} catch (error) {
this.logger.error(
`Error triggering training on the AI service: ${error.message}`,
@@ -1492,7 +1492,7 @@ export class TaskManagerService {
@Cron('0 1 * * 0')
async sendPredictAiRequest(): Promise<void> {
try {
- await firstValueFrom(this.httpService.post('/run_prediction/'))
+ await firstValueFrom(this.httpService.post('/run_prediction/', {}))
} catch (error) {
this.logger.error(
`Error triggering prediction from AI service: ${error.message}`,