From eef636a2f630a1fd06a8905411bb04d1a0a7d7e9 Mon Sep 17 00:00:00 2001 From: aovantsev Date: Fri, 3 Oct 2025 16:27:22 +0300 Subject: [PATCH] fix --- counters.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/counters.go b/counters.go index 9bb7b45..5fd6d67 100644 --- a/counters.go +++ b/counters.go @@ -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(