basic frontend #3

Merged
alexandvvvvv merged 14 commits from feature/base into main 2025-10-03 16:25:14 +00:00
Showing only changes of commit eef636a2f6 - Show all commits

View File

@@ -66,7 +66,7 @@ func GetCountersHandler(c *gin.Context) {
}
defer rows.Close()
var counters []CounterWithStats
counters := []CounterWithStats{} // Initialize as empty slice, not nil
for rows.Next() {
var counter CounterWithStats
err := rows.Scan(