From 3a080bc36fd235ba07383be06dfbbfb8e4e9199a Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Sun, 17 Oct 2021 18:18:45 +0200 Subject: [PATCH] return if no matches found --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index d520f23..3d49762 100644 --- a/main.go +++ b/main.go @@ -174,6 +174,7 @@ func getPlayer(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusInternalServerError) return } + return } metaStats := new(utils.MatchStats)