diff --git a/app/Helpers/StatsHelper.ts b/app/Helpers/StatsHelper.ts index cfddef9..3de8809 100644 --- a/app/Helpers/StatsHelper.ts +++ b/app/Helpers/StatsHelper.ts @@ -11,7 +11,7 @@ async function getWeeklyStats() { development_hours: data.data.total_seconds / 60 / 60, docker_commands_run: commands.length, docker_build_count: builds.length, - best_project: data.data.projects[0] + best_project: data.data.projects } } @@ -24,7 +24,7 @@ async function getMonthlyStats() { development_hours: data.data.total_seconds / 60 / 60, docker_commands_run: commands.length, docker_build_count: builds.length, - best_project: data.data.projects[0] + best_project: data.data.projects } }