From 3269e30a2512e390da488b901f8c53e4c0ff7e75 Mon Sep 17 00:00:00 2001 From: maru Date: Sun, 2 Jun 2024 18:15:24 -0400 Subject: [PATCH] Remove _, _ = stuff --- api/endpoints.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/endpoints.go b/api/endpoints.go index 88d3416..cd25fb9 100644 --- a/api/endpoints.go +++ b/api/endpoints.go @@ -143,7 +143,7 @@ func handleGameTitleStats(w http.ResponseWriter, r *http.Request) { } func handleGameClassicSessionCount(w http.ResponseWriter, r *http.Request) { - _, _ = w.Write([]byte(strconv.Itoa(classicSessionCount))) + w.Write([]byte(strconv.Itoa(classicSessionCount))) } func handleGetSessionData(w http.ResponseWriter, r *http.Request) { @@ -823,5 +823,5 @@ func handleDailyRankingPageCount(w http.ResponseWriter, r *http.Request) { httpError(w, r, err, http.StatusInternalServerError) } - _, _ = w.Write([]byte(strconv.Itoa(count))) + w.Write([]byte(strconv.Itoa(count))) }