feat(skills): parameter passing correction

This commit is contained in:
Timebomb2018
2026-02-04 12:32:37 +08:00
parent b8f1095f53
commit 56e657a0bb
2 changed files with 4 additions and 4 deletions

View File

@@ -188,6 +188,6 @@ class AppStatisticsService:
daily_tokens[date_str] += int(tokens)
daily_data = [{"date": date, "count": tokens} for date, tokens in sorted(daily_tokens.items()) if tokens != 0]
total = sum(row["tokens"] for row in daily_data)
total = sum(row["count"] for row in daily_data)
return {"daily": daily_data, "total": total}