mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 20:19:26 +01:00
fix error
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user