📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
AI service -- trailing slashes
Blue Mousec0cdc251351e
diff --git a/apps/production/src/project/project.service.ts b/apps/production/src/project/project.service.tsindex b8c6b0c8e..7442a2eb1 100644--- a/apps/production/src/project/project.service.ts+++ b/apps/production/src/project/project.service.ts@@ -1357,7 +1357,7 @@ export class ProjectService {async sendPredictAiRequest(id: string, timeframe: TimeFrameQueryEnum) {try {const { data } = await firstValueFrom(- this.httpService.get('/predict', {+ this.httpService.get('/predict/', {params: { pid: id, timeframe },}),)diff --git a/apps/production/src/task-manager/task-manager.service.ts b/apps/production/src/task-manager/task-manager.service.tsindex ae79fb75f..9023ee093 100644--- a/apps/production/src/task-manager/task-manager.service.ts+++ b/apps/production/src/task-manager/task-manager.service.ts@@ -1438,7 +1438,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}`,@@ -1449,7 +1449,7 @@ export class TaskManagerService {@Cron(CronExpression.EVERY_HOUR)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}`,