Skip to content

Commit

Permalink
fix(stats): all time cast on load
Browse files Browse the repository at this point in the history
  • Loading branch information
believer committed Sep 17, 2024
1 parent 74dddd2 commit b304f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func HandleGetStats(c *fiber.Ctx) error {
return err
}

err = db.Dot.Select(db.Client, &totals, "total-watched-by-job-and-year", userId, "cast", year)
err = db.Dot.Select(db.Client, &totals, "total-watched-by-job-and-year", userId, "cast", "All")

if err != nil {
return err
Expand Down

0 comments on commit b304f5e

Please sign in to comment.